merge from gcc

This commit is contained in:
DJ Delorie
2006-02-21 02:01:56 +00:00
parent 22d606e9c2
commit 1c7a49d207
3 changed files with 10 additions and 1 deletions

View File

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