aboutsummaryrefslogtreecommitdiff
path: root/posix/execl.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/execl.c')
-rw-r--r--posix/execl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/execl.c b/posix/execl.c
index 7d89192675..192b492a8b 100644
--- a/posix/execl.c
+++ b/posix/execl.c
@@ -50,6 +50,7 @@ execl (const char *path, const char *arg, ...)
{
if (argv != initial_argv)
free (argv);
+ va_end (args);
return -1;
}
if (argv == initial_argv)