From: DJ Delorie Date: Tue, 21 Feb 2006 02:38:06 +0000 (+0000) Subject: merge from gcc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96f4851a80dbfb7da33342c9666f3dfa8bb4cbb3;p=binutils-gdb.git merge from gcc --- 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 + + * pexecute.c (pwait): Syntax fix for previous change. + 2006-02-17 Uttam Pawar * 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];