From db5f69e34996fcb2957a200545f069657dc7fc64 Mon Sep 17 00:00:00 2001 From: Dmitri Tikhonov Date: Fri, 19 Oct 2018 10:12:44 -0400 Subject: [PATCH] Fix memory leak in test_frame_rw unit test --- test/unittests/test_frame_rw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unittests/test_frame_rw.c b/test/unittests/test_frame_rw.c index 5e481e8..87b9860 100644 --- a/test/unittests/test_frame_rw.c +++ b/test/unittests/test_frame_rw.c @@ -230,6 +230,7 @@ test_rw (unsigned max_frame_sz) compare_headers(uh); lsquic_frame_reader_destroy(fr); + lsquic_http1x_if->hsi_discard_header_set(uh->uh_hset); free(uh); assert(stream->sm_max_req_sz >= sizeof(struct http_frame_header));