summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_session_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy/spdy_session_unittest.cc')
-rw-r--r--net/spdy/spdy_session_unittest.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/spdy/spdy_session_unittest.cc b/net/spdy/spdy_session_unittest.cc
index ece870c..471a52f 100644
--- a/net/spdy/spdy_session_unittest.cc
+++ b/net/spdy/spdy_session_unittest.cc
@@ -131,6 +131,11 @@ TEST_F(SpdySessionTest, GoAway) {
MessageLoop::current()->RunAllPending();
EXPECT_FALSE(spdy_session_pool->HasSession(test_host_port_pair));
+
+ scoped_refptr<SpdySession> session2 =
+ spdy_session_pool->Get(test_host_port_pair, http_session.get());
+
+ session = NULL;
}
} // namespace