From 425a9558d753a51a5cf4f8bc7184e28cba2074cd Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 17 Mar 2012 23:03:11 +0900 Subject: [PATCH] Fixed memory leak in unit test --- tests/spdylay_session_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/spdylay_session_test.c b/tests/spdylay_session_test.c index 47e6d30..fbe6c7a 100644 --- a/tests/spdylay_session_test.c +++ b/tests/spdylay_session_test.c @@ -2040,4 +2040,6 @@ void test_spdylay_session_get_outbound_queue_size() CU_ASSERT(0 == spdylay_submit_goaway(session, SPDYLAY_GOAWAY_OK)); CU_ASSERT(2 == spdylay_session_get_outbound_queue_size(session)); + + spdylay_session_del(session); }