[tor-commits] [tor/master] Fix memory leak of "torrcd" in test_config_include_folder_order()
nickm at torproject.org
nickm at torproject.org
Fri Aug 4 17:51:10 UTC 2017
commit ce07b4dd918cc3a6043f4fd676ec98492c5137a9
Author: Nick Mathewson <nickm at torproject.org>
Date: Fri Aug 4 13:50:27 2017 -0400
Fix memory leak of "torrcd" in test_config_include_folder_order()
Bugfix on 0265ced02b7a652c5941cb2c14ee1e0de0b1d90e; bug not in any
released Tor.
---
src/test/test_config.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/test/test_config.c b/src/test/test_config.c
index 24cb65271..6b875a0a0 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -5163,6 +5163,7 @@ test_config_include_folder_order(void *data)
done:
config_free_lines(result);
+ tor_free(torrcd);
tor_free(path);
tor_free(path2);
tor_free(dir);
More information about the tor-commits
mailing list