diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-13 10:40:42 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-09-13 10:40:42 -0400 |
commit | 831649f56eed00728b58c2be27a250df69c99600 (patch) | |
tree | 3271546d973d0d7330decebf441dd85123dbae8c /src/test | |
parent | 2c7d09dfd2e3c77e0f480724c5acbc93917b649b (diff) | |
download | tor-831649f56eed00728b58c2be27a250df69c99600.tar.gz tor-831649f56eed00728b58c2be27a250df69c99600.zip |
Fix a memory leak in options/validate__single_onion
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c index 1439f95305..31a916f9ac 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 |