X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=libiberty%2Fpexecute.c;h=b951d908b2e855923d3708cf1db4a7536c369b3d;hb=0c0adcc52478ebb707ed780173e18262df6eab7e;hp=fa65fe8f49e016aba0587934f00d60fe24db60b5;hpb=1c7a49d2073aeb6961da9aa585efe1e890d8b66e;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/pexecute.c b/libiberty/pexecute.c index fa65fe8f49..b951d908b2 100644 --- a/libiberty/pexecute.c +++ b/libiberty/pexecute.c @@ -1,6 +1,6 @@ /* Utilities to execute a program in a subprocess (possibly linked by pipes with other subprocesses), and wait for it. - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004-2019 Free Software Foundation, Inc. This file is part of the libiberty library. Libiberty is free software; you can redistribute it and/or @@ -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];