diff options
Diffstat (limited to 'posix/execlp.c')
-rw-r--r-- | posix/execlp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/posix/execlp.c b/posix/execlp.c index 5e45de967a..7fc2740519 100644 --- a/posix/execlp.c +++ b/posix/execlp.c @@ -50,6 +50,7 @@ execlp (const char *file, const char *arg, ...) { if (argv != initial_argv) free (argv); + va_end (args); return -1; } if (argv == initial_argv) |