diff options
author | David Goulet <dgoulet@torproject.org> | 2017-08-24 16:21:44 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-24 16:21:44 -0400 |
commit | dfaa5c65f9fbfde9a12d8eb3ed848cab6ed1a5f9 (patch) | |
tree | f5382e747fdca41bba92f0fafdaf6bb55a1225ed /src/test/test_hs_descriptor.c | |
parent | a007c02df0140d15697cf0ca61cea90bfc494789 (diff) | |
download | tor-dfaa5c65f9fbfde9a12d8eb3ed848cab6ed1a5f9.tar.gz tor-dfaa5c65f9fbfde9a12d8eb3ed848cab6ed1a5f9.zip |
test: Fix memory leak in hs_descriptor/decode_bad_signature
Fixes #23319
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_hs_descriptor.c')
-rw-r--r-- | src/test/test_hs_descriptor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_hs_descriptor.c b/src/test/test_hs_descriptor.c index 30a5b23cf2..7f0d1dd189 100644 --- a/src/test/test_hs_descriptor.c +++ b/src/test/test_hs_descriptor.c @@ -581,7 +581,8 @@ test_decode_bad_signature(void *arg) expect_log_msg_containing("Malformed signature line. Rejecting."); teardown_capture_of_logs(); - done: ; + done: + desc_plaintext_data_free_contents(&desc_plaintext); } static void |