Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-24 20:19:36 +0400
committerEric Andersen <andersen@codepoet.org>2001-05-24 20:19:36 +0400
commita813afc24f864e0055bdd0ef8cde6777a514b212 (patch)
treec789d82d6a5cf053e3a147028decf260f78af19d /shell
parent5a9d441b2cfb4f3614971f918bb69b5e7a5ea2c9 (diff)
Plug another memory leak
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)
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;
}