diff options
| author | root <root@eng-140.vyatta.com> | 2008-07-24 14:00:08 -0700 |
|---|---|---|
| committer | root <root@eng-140.vyatta.com> | 2008-07-24 14:00:08 -0700 |
| commit | 402da0491b06f6c837f7fe8d28aa8605423928bf (patch) | |
| tree | 37e1956d65b5c62390d8a78ab618aa346c3943bc | |
| parent | 4c3c3146b18f40a18453515ef5057f4b29096414 (diff) | |
| download | vyatta-bash-402da0491b06f6c837f7fe8d28aa8605423928bf.tar.gz vyatta-bash-402da0491b06f6c837f7fe8d28aa8605423928bf.zip | |
missing a free from last merge.
| -rw-r--r-- | parse.y | 2 | ||||
| -rw-r--r-- | y.tab.c | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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); @@ -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); |
