From ce07b4dd918cc3a6043f4fd676ec98492c5137a9 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 4 Aug 2017 13:50:27 -0400 Subject: [PATCH] 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 24cb65271d..6b875a0a04 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);