From 614b87de55e550d7b07709124a38f23b2f54a35a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 24 Nov 2001 06:19:23 +0000 Subject: Silly us. Don't try to free alloca'd memory. -Erik --- libc/unistd/execlp.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libc/unistd/execlp.c') 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; } -- cgit v1.2.3