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/or/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/or/hs_descriptor.c')
-rw-r--r-- | src/or/hs_descriptor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_descriptor.c b/src/or/hs_descriptor.c index f50e2f8510..4bc54bdb2d 100644 --- a/src/or/hs_descriptor.c +++ b/src/or/hs_descriptor.c @@ -147,7 +147,7 @@ static token_rule_t hs_desc_intro_point_v3_token_table[] = { }; /* Free the content of the plaintext section of a descriptor. */ -static void +STATIC void desc_plaintext_data_free_contents(hs_desc_plaintext_data_t *desc) { if (!desc) { |