diff options
-rw-r--r-- | hush.c | 1 | ||||
-rw-r--r-- | shell/hush.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -2494,6 +2494,7 @@ int parse_stream_outer(struct in_str *inp) done_word(&temp, &ctx); done_pipe(&ctx,PIPE_SEQ); run_list(ctx.list_head); + b_free(&temp); } while (rcode != -1); /* loop on syntax errors, return on EOF */ return 0; } diff --git a/shell/hush.c b/shell/hush.c index bb13971..5c129ce 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -2494,6 +2494,7 @@ int parse_stream_outer(struct in_str *inp) done_word(&temp, &ctx); done_pipe(&ctx,PIPE_SEQ); run_list(ctx.list_head); + b_free(&temp); } while (rcode != -1); /* loop on syntax errors, return on EOF */ return 0; } |