diff options
author | Andreas Schwab <schwab@suse.de> | 2015-07-07 12:52:51 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2015-09-16 14:51:28 +0200 |
commit | a6d9312c4da740437752b8a73102bf3ca4e3bb3e (patch) | |
tree | 7d366b906856f655056483c3c786d915a539f119 /posix/execlp.c | |
parent | 51f24be7ba5d15313ae94f8fb4500ce07cb98c84 (diff) | |
download | glibc-a6d9312c4da740437752b8a73102bf3ca4e3bb3e.tar.gz |
Add missing va_end calls (bug 17243)
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) |