summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/editor.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 766ba51..ef35176 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2003-05-27 Shawn Betts <sabetts@sfu.ca>
+ * src/editor.c (input_line_free): free the completions structure
+ in line.
+
* configure.in: add a check for libhistory.
* src/editor.c (saved_command): new local global
diff --git a/src/editor.c b/src/editor.c
index f300bb3..eb3e443 100644
--- a/src/editor.c
+++ b/src/editor.c
@@ -99,7 +99,7 @@ input_line_new (char *prompt, char *preinput, completion_fn fn)
void
input_line_free (rp_input_line *line)
{
-/* completions_free (line->compl); */
+ completions_free (line->compl);
free (line->buffer);
free (line);
}