From 96f4851a80dbfb7da33342c9666f3dfa8bb4cbb3 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 21 Feb 2006 02:38:06 +0000 Subject: [PATCH] merge from gcc --- libiberty/ChangeLog | 4 ++++ libiberty/pexecute.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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]; -- 2.30.2