diff options
author | Ben Elliston <bje@au.ibm.com> | 2006-02-21 02:21:44 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2006-02-21 13:21:44 +1100 |
commit | f49712d83374cdb039e2dfa6e3197df7ebbfd23d (patch) | |
tree | 2f36c0755fa7994d154a9e7026548c6e5bcfe61a | |
parent | 8f629dc52826bf3ffb9932cb2d359dac5163bae2 (diff) | |
download | gcc-f49712d83374cdb039e2dfa6e3197df7ebbfd23d.tar.gz |
* pexecute.c (pwait): Syntax fix for previous change.
From-SVN: r111326
-rw-r--r-- | libiberty/ChangeLog | 4 | ||||
-rw-r--r-- | libiberty/pexecute.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 46ab074f9e2..acdfad0657f 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -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. diff --git a/libiberty/pexecute.c b/libiberty/pexecute.c index fa65fe8f49e..97f157447b7 100644 --- a/libiberty/pexecute.c +++ b/libiberty/pexecute.c @@ -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]; |