From: Ralph Corderoy Date: Thu, 7 Sep 2017 09:36:56 +0000 (+0100) Subject: replsbr.c: In parent, free child's argv[] built before fork(). X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/cbed730103da38443ab371936107c85bcce8e8e2 replsbr.c: In parent, free child's argv[] built before fork(). Fixes ccafa1944. --- diff --git a/uip/replsbr.c b/uip/replsbr.c index 2444aa3c..61e76a9b 100644 --- a/uip/replsbr.c +++ b/uip/replsbr.c @@ -476,6 +476,7 @@ replfilter (FILE *in, FILE *out, char *filter, int fmtproc) if (pidXwait (pid, mhl)) done (1); fseek (out, 0L, SEEK_END); + arglist_free(mhl, arglist); break; } }