mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-11 20:15:04 -05:00
Fixed memory leak in unittest
This commit is contained in:
parent
4456d2506d
commit
93953c102b
@ -68,6 +68,7 @@ static void test_spdylay_frame_unpack_nv_with(size_t len_size)
|
|||||||
"\0\0", 2);
|
"\0\0", 2);
|
||||||
CU_ASSERT(SPDYLAY_ERR_INVALID_HEADER_BLOCK ==
|
CU_ASSERT(SPDYLAY_ERR_INVALID_HEADER_BLOCK ==
|
||||||
spdylay_frame_unpack_nv(&nv, out, inlen, len_size));
|
spdylay_frame_unpack_nv(&nv, out, inlen, len_size));
|
||||||
|
spdylay_frame_nv_del(nv);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_spdylay_frame_unpack_nv_spdy2(void)
|
void test_spdylay_frame_unpack_nv_spdy2(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user