diff options
author | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-21 02:21:44 +0000 |
---|---|---|
committer | bje <bje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-02-21 02:21:44 +0000 |
commit | bfe432533d34bf1d5185b464d1f0c45b751f1881 (patch) | |
tree | 2f36c0755fa7994d154a9e7026548c6e5bcfe61a /libiberty | |
parent | 6438934dc7b42eb1bc1897877c79e93b40ea5477 (diff) | |
download | gcc-bfe432533d34bf1d5185b464d1f0c45b751f1881.tar.gz |
* pexecute.c (pwait): Syntax fix for previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111326 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-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]; |