[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix memory leak of "torrcd" in test_config_include_folder_order()
commit ce07b4dd918cc3a6043f4fd676ec98492c5137a9
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits