(execvp): Fix invalid free.

This commit is contained in:
Ulrich Drepper 2005-02-22 15:36:13 +00:00
parent 8b3d4e0b04
commit 79164473b2
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ execvp (file, argv)
__set_errno (EACCES);
free (script_argv);
free (name);
free (name - pathlen);
if (path_malloc)
free (path);
}