Fix memory leak of "torrcd" in test_config_include_folder_order()

Bugfix on 0265ced02b7a652c5941cb2c14ee1e0de0b1d90e; bug not in any
released Tor.
This commit is contained in:
Nick Mathewson 2017-08-04 13:50:27 -04:00
parent 89407bedf8
commit ce07b4dd91

View File

@ -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);