commit | a15dc15f12766709ecd27be001a5832a11e6b353 | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Wed May 23 23:46:09 2001 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Wed May 23 23:46:09 2001 +0000 |
tree | d757df8dc707c1171e846c900c701081a30d780e | |
parent | bf7df04ec131c2d72e39d3ff6f2f85be675f9370 [diff] [blame] |
Plug another memory leak in hush. This one showed up when backticked commands were run. This one was sure a bugger to find. -Erik
diff --git a/hush.c b/hush.c index 57b85d1..bb13971 100644 --- a/hush.c +++ b/hush.c
@@ -2166,6 +2166,7 @@ * to the KISS philosophy of this program. */ mark_closed(fileno(p)); retcode=pclose(p); + free_pipe_list(inner.list_head,0); debug_printf("pclosed, retcode=%d\n",retcode); /* XXX this process fails to trim a single trailing newline */ return retcode;