* pexecute.c (pwait): Syntax fix for previous change.

From-SVN: r111326
This commit is contained in:
Ben Elliston 2006-02-21 02:21:44 +00:00 committed by Ben Elliston
parent 8f629dc528
commit f49712d833
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];