commit 2ae1b7e2db4eafa4270cfcbf014412abea45b969
parent 3a073c463dbade2171a1a6ec1558bd81c0ff27f9
Author: Taylor Yu <catalyst@torproject.org>
Date: Thu, 28 Sep 2017 17:53:38 -0500
Fix leak in test_util.c
AddressSanitizer found a leak in test_util_decompress_dos_impl().
Fixes bug #23691.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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);
}