merge from gcc

This commit is contained in:
DJ Delorie 2006-02-21 02:38:06 +00:00
parent 1c7a49d207
commit 96f4851a80
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-02-21 Ben Elliston <bje@au.ibm.com>
* pexecute.c (pwait): Syntax fix for previous change.
2006-02-17 Uttam Pawar <uttamp@us.ibm.com>
* pexecute.c (pwait): Free vector pointer.

View File

@ -102,7 +102,7 @@ pwait (int pid, int *status, int flags ATTRIBUTE_UNUSED)
vector = XNEWVEC (int, idx);
if (!pex_get_status (pex, idx, vector))
{
free (vector)
free (vector);
return -1;
}
*status = vector[pid];