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

Fix compile error and memory leak

parent eec8870a
......@@ -6666,7 +6666,7 @@ void test_nghttp2_session_cancel_reserved_remote(void) {
nghttp2_hd_deflater deflater;
nghttp2_mem *mem;
nghttp2_bufs bufs;
int rv;
ssize_t rv;
mem = nghttp2_mem_default();
frame_pack_bufs_init(&bufs);
......@@ -6736,7 +6736,9 @@ void test_nghttp2_session_cancel_reserved_remote(void) {
nghttp2_frame_headers_free(&frame.headers, mem);
nghttp2_bufs_free(&bufs);
nghttp2_hd_deflate_free(&deflater);
nghttp2_session_del(session);
nghttp2_bufs_free(&bufs);
}
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