aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-24 16:19:36 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-05-24 16:19:36 +0000
commit9610a09e85ab7731d0682273d0048e5f65ff1a85 (patch)
treec789d82d6a5cf053e3a147028decf260f78af19d /shell
parent85282c7ca61ab22640ba11e8e1234eaaa37a26f3 (diff)
downloadbusybox-w32-9610a09e85ab7731d0682273d0048e5f65ff1a85.tar.gz
busybox-w32-9610a09e85ab7731d0682273d0048e5f65ff1a85.tar.bz2
busybox-w32-9610a09e85ab7731d0682273d0048e5f65ff1a85.zip
Plug another memory leak
git-svn-id: svn://busybox.net/trunk/busybox@2720 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c
index bb1397179..5c129ce17 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -2494,6 +2494,7 @@ int parse_stream_outer(struct in_str *inp)
2494 done_word(&temp, &ctx); 2494 done_word(&temp, &ctx);
2495 done_pipe(&ctx,PIPE_SEQ); 2495 done_pipe(&ctx,PIPE_SEQ);
2496 run_list(ctx.list_head); 2496 run_list(ctx.list_head);
2497 b_free(&temp);
2497 } while (rcode != -1); /* loop on syntax errors, return on EOF */ 2498 } while (rcode != -1); /* loop on syntax errors, return on EOF */
2498 return 0; 2499 return 0;
2499} 2500}