Skip to content

Commit

Permalink
Fix leak in test_util.c
Browse files Browse the repository at this point in the history
AddressSanitizer found a leak in test_util_decompress_dos_impl().
Fixes bug #23691.
  • Loading branch information
tlyu committed Sep 28, 2017
1 parent 3a073c4 commit 2ae1b7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/test_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 2ae1b7e

Please sign in to comment.