[tor/master] Fix leak in test_util.c

28 Sep
2017
28 Sep
'17
11:08 p.m.
commit 2ae1b7e2db4eafa4270cfcbf014412abea45b969 Author: Taylor Yu <catalyst@torproject.org> Date: Thu Sep 28 17:53:38 2017 -0500 Fix leak in test_util.c AddressSanitizer found a leak in test_util_decompress_dos_impl(). Fixes bug #23691. --- src/test/test_util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/test_util.c b/src/test/test_util.c index 162f6fbc0..475fbed1e 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); }
2842
Age (days ago)
2842
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org