diff options
Diffstat (limited to 'hush.c')
-rw-r--r-- | hush.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2166,6 +2166,7 @@ static int process_command_subs(o_string *dest, struct p_context *ctx, struct in | |||
2166 | * to the KISS philosophy of this program. */ | 2166 | * to the KISS philosophy of this program. */ |
2167 | mark_closed(fileno(p)); | 2167 | mark_closed(fileno(p)); |
2168 | retcode=pclose(p); | 2168 | retcode=pclose(p); |
2169 | free_pipe_list(inner.list_head,0); | ||
2169 | debug_printf("pclosed, retcode=%d\n",retcode); | 2170 | debug_printf("pclosed, retcode=%d\n",retcode); |
2170 | /* XXX this process fails to trim a single trailing newline */ | 2171 | /* XXX this process fails to trim a single trailing newline */ |
2171 | return retcode; | 2172 | return retcode; |