diff options
Diffstat (limited to 'src/unistd/fexec.c')
-rw-r--r-- | src/unistd/fexec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unistd/fexec.c b/src/unistd/fexec.c index bc88c57..bf2c392 100644 --- a/src/unistd/fexec.c +++ b/src/unistd/fexec.c @@ -58,6 +58,7 @@ static void vexec(int fd, va_list argv, int fetch_envp) for (i = 0; i < n; i++) argv_[i] = va_arg(argv, char*); + va_end(args); fexecve(fd, argv_, envp); } |