From: Taylor Yu Date: Thu, 28 Sep 2017 22:53:38 +0000 (-0500) Subject: Fix leak in test_util.c X-Git-Tag: tor-0.3.2.2-alpha~10^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ae1b7e2db4eafa4270cfcbf014412abea45b969;p=thirdparty%2Ftor.git Fix leak in test_util.c AddressSanitizer found a leak in test_util_decompress_dos_impl(). Fixes bug #23691. --- diff --git a/src/test/test_util.c b/src/test/test_util.c index 162f6fbc0a..475fbed1e5 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -2578,6 +2578,7 @@ test_util_decompress_dos_impl(compress_method_t method) done: teardown_capture_of_logs(); + tor_free(input); tor_free(result); tor_free(result2); }