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