aboutsummaryrefslogtreecommitdiff
path: root/posix/execl.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2015-07-07 12:52:51 +0200
committerAndreas Schwab <schwab@suse.de>2015-09-16 14:51:28 +0200
commita6d9312c4da740437752b8a73102bf3ca4e3bb3e (patch)
tree7d366b906856f655056483c3c786d915a539f119 /posix/execl.c
parent51f24be7ba5d15313ae94f8fb4500ce07cb98c84 (diff)
downloadglibc-a6d9312c4da740437752b8a73102bf3ca4e3bb3e.tar
glibc-a6d9312c4da740437752b8a73102bf3ca4e3bb3e.tar.gz
glibc-a6d9312c4da740437752b8a73102bf3ca4e3bb3e.tar.bz2
glibc-a6d9312c4da740437752b8a73102bf3ca4e3bb3e.zip
Add missing va_end calls (bug 17243)
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)