Fixed memory leak in unit test

This commit is contained in:
Tatsuhiro Tsujikawa 2012-03-17 23:03:11 +09:00
parent 8f038ae4b6
commit 425a9558d7
1 changed files with 2 additions and 0 deletions

View File

@ -2040,4 +2040,6 @@ void test_spdylay_session_get_outbound_queue_size()
CU_ASSERT(0 == spdylay_submit_goaway(session, SPDYLAY_GOAWAY_OK)); CU_ASSERT(0 == spdylay_submit_goaway(session, SPDYLAY_GOAWAY_OK));
CU_ASSERT(2 == spdylay_session_get_outbound_queue_size(session)); CU_ASSERT(2 == spdylay_session_get_outbound_queue_size(session));
spdylay_session_del(session);
} }