aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools/tor_runner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/tor_runner.c b/src/tools/tor_runner.c
index 9ed2ee5775..7c43b0d244 100644
--- a/src/tools/tor_runner.c
+++ b/src/tools/tor_runner.c
@@ -93,6 +93,7 @@ child(const tor_main_configuration_t *cfg)
int rv = execv(BINDIR "/tor", args);
if (rv < 0) {
+ free(args);
exit(254);
} else {
abort(); /* Unreachable */