summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Yu <catalyst@torproject.org>2017-09-28 17:53:38 -0500
committerTaylor Yu <catalyst@torproject.org>2017-09-28 17:53:38 -0500
commit2ae1b7e2db4eafa4270cfcbf014412abea45b969 (patch)
tree949dccc45100b6f8bf939764344e8a5cdaeeb491
parent3a073c463dbade2171a1a6ec1558bd81c0ff27f9 (diff)
downloadtor-2ae1b7e2db4eafa4270cfcbf014412abea45b969.tar.gz
tor-2ae1b7e2db4eafa4270cfcbf014412abea45b969.zip
Fix leak in test_util.c
AddressSanitizer found a leak in test_util_decompress_dos_impl(). Fixes bug #23691.
-rw-r--r--src/test/test_util.c1
1 files changed, 1 insertions, 0 deletions
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);
}