Commit 6f0b9128 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

tests: Fix leak

parent a85455ed
......@@ -410,6 +410,8 @@ void test_nghttp2_nv_array_copy(void)
rv = nghttp2_nv_array_copy(&nva, &bignv, 1);
CU_ASSERT(1 == rv);
nghttp2_nv_array_del(nva);
free(bignv.value);
}
......
......@@ -700,6 +700,8 @@ void test_nghttp2_hd_change_table_size(void)
CU_ASSERT(1024 == inflater.ctx.hd_table_bufsize_max);
CU_ASSERT(4096 == inflater.settings_hd_table_bufsize_max);
nva_out_reset(&out);
free(buf);
nghttp2_hd_inflate_free(&inflater);
nghttp2_hd_deflate_free(&deflater);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment