mirror of git://sourceware.org/git/glibc.git
(execvp): Fix invalid free.
This commit is contained in:
parent
8b3d4e0b04
commit
79164473b2
|
|
@ -189,7 +189,7 @@ execvp (file, argv)
|
||||||
__set_errno (EACCES);
|
__set_errno (EACCES);
|
||||||
|
|
||||||
free (script_argv);
|
free (script_argv);
|
||||||
free (name);
|
free (name - pathlen);
|
||||||
if (path_malloc)
|
if (path_malloc)
|
||||||
free (path);
|
free (path);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue