Index: net/http/http_pipelined_host_pool_unittest.cc |
diff --git a/net/http/http_pipelined_host_pool_unittest.cc b/net/http/http_pipelined_host_pool_unittest.cc |
index 457f1012e622821a6d12d15575c2560af6383d96..db4706457c7d30a593b029c584bdc688b0545e3d 100644 |
--- a/net/http/http_pipelined_host_pool_unittest.cc |
+++ b/net/http/http_pipelined_host_pool_unittest.cc |
@@ -191,6 +191,7 @@ TEST_F(HttpPipelinedHostPoolTest, PopulatesServerProperties) { |
pool_->OnHostDeterminedCapability(host_, PIPELINE_CAPABLE); |
EXPECT_EQ(PIPELINE_CAPABLE, |
http_server_properties_->GetPipelineCapability(host_->origin())); |
+ delete host_; // Must manually delete, because it's never added to |pool_|. |
} |
} // anonymous namespace |