summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-05-27 18:16:52 +0000
committersabetts <sabetts>2003-05-27 18:16:52 +0000
commit416fd6f8a57877da6700bbb95008dacb84caf4e8 (patch)
tree518646cdda392351c4f101dde3225af84662d98e
parentfa25eb5ee73271cc36fd53c1f660867445f8a3fa (diff)
downloadratpoison-416fd6f8a57877da6700bbb95008dacb84caf4e8.zip
* src/editor.c (input_line_free): free the completions structure
in line.
-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);
}