summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@eng-140.vyatta.com>2008-07-24 17:02:30 -0700
committerroot <root@eng-140.vyatta.com>2008-07-24 17:02:30 -0700
commit7ae3debfae6b542cb4778d179971e6b112faede4 (patch)
tree7158833fac2939a41a87ece03c0e28ac6cef0493
parent402da0491b06f6c837f7fe8d28aa8605423928bf (diff)
downloadvyatta-bash-7ae3debfae6b542cb4778d179971e6b112faede4.tar.gz
vyatta-bash-7ae3debfae6b542cb4778d179971e6b112faede4.zip
Revert "missing a free from last merge."
This reverts commit 402da0491b06f6c837f7fe8d28aa8605423928bf.
-rw-r--r--parse.y2
-rw-r--r--y.tab.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/parse.y b/parse.y
index c1c763c..dd2f337 100644
--- a/parse.y
+++ b/parse.y
@@ -2046,8 +2046,6 @@ shell_getc (remove_quoted_newline)
history_buf[history_index] = '\0';
expansions = pre_process_line (history_buf, 1, 1);
flag = expansions != history_buf;
-
- free(history_buf);
}
else {
expansions = pre_process_line (shell_input_line, 1, 1);
diff --git a/y.tab.c b/y.tab.c
index 76be7ae..6ed1776 100644
--- a/y.tab.c
+++ b/y.tab.c
@@ -4219,8 +4219,6 @@ shell_getc (remove_quoted_newline)
history_buf[history_index] = '\0';
expansions = pre_process_line (history_buf, 1, 1);
flag = expansions != history_buf;
-
- free(history_buf);
}
else {
expansions = pre_process_line (shell_input_line, 1, 1);