[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix a memory leak in options/validate__single_onion
commit 831649f56eed00728b58c2be27a250df69c99600
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Tue Sep 13 10:40:42 2016 -0400
Fix a memory leak in options/validate__single_onion
---
src/test/test_options.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/test/test_options.c b/src/test/test_options.c
index 1439f95..31a916f 100644
--- a/src/test/test_options.c
+++ b/src/test/test_options.c
@@ -2868,6 +2868,7 @@ test_options_validate__single_onion(void *ignored)
tt_str_op(msg, OP_EQ, "HiddenServiceNonAnonymousMode does not provide any "
"server anonymity. It must be used with "
"HiddenServiceSingleHopMode set to 1.");
+ tor_free(msg);
free_options_test_data(tdata);
tdata = get_options_test_data(TEST_OPTIONS_DEFAULT_VALUES
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits