1
0
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:
Tatsuhiro Tsujikawa 2012-04-04 00:56:21 +09:00
parent 4456d2506d
commit 93953c102b

View File

@ -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)