diff options
-rw-r--r-- | libc/unistd/execl.c | 3 | ||||
-rw-r--r-- | libc/unistd/execle.c | 3 | ||||
-rw-r--r-- | libc/unistd/execlp.c | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/libc/unistd/execl.c b/libc/unistd/execl.c index 9d49d5abd..b2c6dd5a0 100644 --- a/libc/unistd/execl.c +++ b/libc/unistd/execl.c @@ -42,8 +42,5 @@ int execl(__const char *path, __const char *arg, ...) i = execve(path, (char *const *) argv, __environ); - if (argv != shortargv) - free(argv); - return i; } diff --git a/libc/unistd/execle.c b/libc/unistd/execle.c index 14c7a0bfc..4003ee6be 100644 --- a/libc/unistd/execle.c +++ b/libc/unistd/execle.c @@ -46,8 +46,5 @@ int execle(const char *file, const char *arg, ...) i = execvep(file, (char *const *) argv, (char *const *) envp); - if (argv != shortargv) - free(argv); - return i; } diff --git a/libc/unistd/execlp.c b/libc/unistd/execlp.c index 1e2f6558d..923a2e22a 100644 --- a/libc/unistd/execlp.c +++ b/libc/unistd/execlp.c @@ -44,8 +44,5 @@ int execlp(__const char *file, __const char *arg, ...) i = execvep(file, (char *const *) argv, __environ); - if (argv != shortargv) - free(argv); - return i; } |