summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/http/http_pipelined_host_pool_unittest.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/http/http_pipelined_host_pool_unittest.cc b/net/http/http_pipelined_host_pool_unittest.cc
index 457f101..db47064 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