summaryrefslogtreecommitdiff
path: root/src/completions.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-03-08 00:33:29 +0000
committersabetts <sabetts>2006-03-08 00:33:29 +0000
commitc37b647396a065eb4928257452c785f148bcae50 (patch)
tree7764a74ae892e2c7b6feb48697a9e80786cf5c30 /src/completions.c
parent8460497f0ed5ea8a6b7f0029243a26713a36cc47 (diff)
downloadratpoison-c37b647396a065eb4928257452c785f148bcae50.zip
* src/main.c (clean_up): properly free rp_frame_numset
* src/editor.c (editor_enter): free line->buffer before setting it to the history expansion. * src/completions.c (completions_free): free the rp_completions struct too * src/actions.c (del_frame_undo): free the rp_frame_undo struct too.
Diffstat (limited to 'src/completions.c')
-rw-r--r--src/completions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/completions.c b/src/completions.c
index db8d75a..4c62d71 100644
--- a/src/completions.c
+++ b/src/completions.c
@@ -55,6 +55,8 @@ completions_free (rp_completions *c)
/* Free the partial string. */
if (c->partial)
free (c->partial);
+
+ free (c);
}
static void