summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-05-27 18:46:33 +0000
committersabetts <sabetts>2003-05-27 18:46:33 +0000
commitc590e039dac7c9edd4074d8e52f7928e789b5078 (patch)
tree3cf0673d90d641f5d386ea647c1b8078813a9214 /src/actions.c
parent416fd6f8a57877da6700bbb95008dacb84caf4e8 (diff)
downloadratpoison-c590e039dac7c9edd4074d8e52f7928e789b5078.zip
* src/completions.c (completions_next_completion): check
c->last_match as a match to partial on a virgin completion. * src/group.c (free_groups): new function * src/group.h (free_groups): new prototype * src/main.c (clean_up): call free_groups * src/actions.c (cmd_fdump): free the string returned by frame_dump. * src/completions.c (completions_update): free new_list.
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c
index 8b2a04b..b96a279 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -3137,8 +3137,12 @@ cmd_fdump (int interactively, char *data)
/* FIXME: Oooh, gross! there's a trailing comma, yuk! */
list_for_each_entry (cur, &current_screen()->frames, node)
{
- sbuf_concat (s, frame_dump (cur));
+ char *tmp;
+
+ tmp = frame_dump (cur);
+ sbuf_concat (s, tmp);
sbuf_concat (s, ",");
+ free (tmp);
}
tmp = sbuf_get (s);