aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2006-02-21 02:38:06 +0000
committerDJ Delorie <dj@redhat.com>2006-02-21 02:38:06 +0000
commit96f4851a80dbfb7da33342c9666f3dfa8bb4cbb3 (patch)
tree5b2186f75026430ca14881a47e3a73256bfe039a /libiberty
parent1c7a49d2073aeb6961da9aa585efe1e890d8b66e (diff)
downloadgdb-96f4851a80dbfb7da33342c9666f3dfa8bb4cbb3.zip
gdb-96f4851a80dbfb7da33342c9666f3dfa8bb4cbb3.tar.gz
gdb-96f4851a80dbfb7da33342c9666f3dfa8bb4cbb3.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/pexecute.c2
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];