From 93953c102bb3dab2998d67af4085d0571549fca1 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 4 Apr 2012 00:56:21 +0900 Subject: [PATCH] Fixed memory leak in unittest --- tests/spdylay_frame_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/spdylay_frame_test.c b/tests/spdylay_frame_test.c index 874fa76..0622439 100644 --- a/tests/spdylay_frame_test.c +++ b/tests/spdylay_frame_test.c @@ -68,6 +68,7 @@ static void test_spdylay_frame_unpack_nv_with(size_t len_size) "\0\0", 2); CU_ASSERT(SPDYLAY_ERR_INVALID_HEADER_BLOCK == spdylay_frame_unpack_nv(&nv, out, inlen, len_size)); + spdylay_frame_nv_del(nv); } void test_spdylay_frame_unpack_nv_spdy2(void)