diff options
author | DJ Delorie <dj@redhat.com> | 2006-02-21 02:38:06 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2006-02-21 02:38:06 +0000 |
commit | 96f4851a80dbfb7da33342c9666f3dfa8bb4cbb3 (patch) | |
tree | 5b2186f75026430ca14881a47e3a73256bfe039a | |
parent | 1c7a49d2073aeb6961da9aa585efe1e890d8b66e (diff) | |
download | gdb-96f4851a80dbfb7da33342c9666f3dfa8bb4cbb3.zip gdb-96f4851a80dbfb7da33342c9666f3dfa8bb4cbb3.tar.gz gdb-96f4851a80dbfb7da33342c9666f3dfa8bb4cbb3.tar.bz2 |
merge from gcc
-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 46ab074..acdfad0 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 fa65fe8..97f1574 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]; |