Fixed memory leak in unit test
This commit is contained in:
parent
8f038ae4b6
commit
425a9558d7
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue