Fixed memory leak in unittest

This commit is contained in:
Tatsuhiro Tsujikawa 2012-04-04 00:56:21 +09:00
parent 4456d2506d
commit 93953c102b
1 changed files with 1 additions and 0 deletions

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)