summaryrefslogtreecommitdiff
path: root/libc/unistd/execl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/execl.c')
-rw-r--r--libc/unistd/execl.c3
1 files changed, 0 insertions, 3 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;
}