aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index d6be201..cadff6b 100644
--- a/main.c
+++ b/main.c
@@ -319,6 +319,7 @@ dolink(void)
exit(1);
}
}
+ vfree(&cmd);
waitpid(p, &wstat, 0);
if (!WIFEXITED(wstat)) return 127;
return WEXITSTATUS(wstat);