summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2006-02-21 02:38:06 +0000
committerDJ Delorie <dj@delorie.com>2006-02-21 02:38:06 +0000
commit46ff244cc23fbf09f797e0e46038d53055747fcc (patch)
treec1f5d7136cc736e89ff0cd94ef6944295003db50 /libiberty
parentf3fe553a59d5dd200619a908f279bc2a5fd675b8 (diff)
downloadbinutils-redhat-46ff244cc23fbf09f797e0e46038d53055747fcc.tar.gz
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/partition.c1
-rw-r--r--libiberty/pexecute.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 46ab074f9e..acdfad0657 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/partition.c b/libiberty/partition.c
index c145cdb8f0..5f0745c914 100644
--- a/libiberty/partition.c
+++ b/libiberty/partition.c
@@ -177,6 +177,7 @@ partition_print (partition part, FILE *fp)
}
fputc (']', fp);
+ free (class_elements);
free (done);
}
diff --git a/libiberty/pexecute.c b/libiberty/pexecute.c
index fa65fe8f49..97f157447b 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];