From 402da0491b06f6c837f7fe8d28aa8605423928bf Mon Sep 17 00:00:00 2001 From: root Date: Thu, 24 Jul 2008 14:00:08 -0700 Subject: missing a free from last merge. --- parse.y | 2 ++ y.tab.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/parse.y b/parse.y index dd2f337..c1c763c 100644 --- a/parse.y +++ b/parse.y @@ -2046,6 +2046,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); 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); -- cgit v1.2.3