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