summaryrefslogtreecommitdiff
path: root/y.tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'y.tab.c')
-rw-r--r--y.tab.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/y.tab.c b/y.tab.c
index 6ed1776..76be7ae 100644
--- a/y.tab.c
+++ b/y.tab.c
@@ -4219,6 +4219,8 @@ 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);