From c590e039dac7c9edd4074d8e52f7928e789b5078 Mon Sep 17 00:00:00 2001 From: sabetts Date: Tue, 27 May 2003 18:46:33 +0000 Subject: * 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. --- src/actions.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/actions.c') 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, ¤t_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); -- cgit v1.2.3