aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_config.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-08-04 13:50:27 -0400
committerNick Mathewson <nickm@torproject.org>2017-08-04 13:50:27 -0400
commitce07b4dd918cc3a6043f4fd676ec98492c5137a9 (patch)
treef4b8acd33545cfec8ce36a9d8be4fdd12a58bdbc /src/test/test_config.c
parent89407bedf8980b9dd7a10b268b351e8b2938ac80 (diff)
downloadtor-ce07b4dd918cc3a6043f4fd676ec98492c5137a9.tar.gz
tor-ce07b4dd918cc3a6043f4fd676ec98492c5137a9.zip
Fix memory leak of "torrcd" in test_config_include_folder_order()
Bugfix on 0265ced02b7a652c5941cb2c14ee1e0de0b1d90e; bug not in any released Tor.
Diffstat (limited to 'src/test/test_config.c')
-rw-r--r--src/test/test_config.c1
1 files changed, 1 insertions, 0 deletions
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);