aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-06-17 08:54:12 -0400
committerNick Mathewson <nickm@torproject.org>2019-06-17 08:54:12 -0400
commit52d386c9b0507b09d4c3adb3e0916c1e14f7efe5 (patch)
tree6fa397e9e7633b8b42274d8a6f016172dbe75a47 /src/app
parent319ce225815897d8626e85037ee203c4de634405 (diff)
parent16e71c7fb0f62ad9e9768987c32f397eef3247fb (diff)
downloadtor-52d386c9b0507b09d4c3adb3e0916c1e14f7efe5.tar.gz
tor-52d386c9b0507b09d4c3adb3e0916c1e14f7efe5.zip
Merge remote-tracking branch 'tor-github/pr/1100'
Diffstat (limited to 'src/app')
-rw-r--r--src/app/main/ntmain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/main/ntmain.c b/src/app/main/ntmain.c
index f00b712702..a2de5bb87e 100644
--- a/src/app/main/ntmain.c
+++ b/src/app/main/ntmain.c
@@ -608,6 +608,7 @@ nt_service_install(int argc, char **argv)
&sidUse) == 0) {
/* XXXX For some reason, the above test segfaults. Fix that. */
printf("User \"%s\" doesn't seem to exist.\n", user_acct);
+ tor_free(command);
return -1;
} else {
printf("Will try to install service as user \"%s\".\n", user_acct);