[PATCH] src/actions.c: fix memory leak in cmd_groups()
Ali Gholami Rudi <[email protected]>
| Newsgroups | gmane.comp.window-managers.ratpoison.devel |
|---|---|
| Message-ID | <[email protected]> |
---
src/actions.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/actions.c b/src/actions.c
index 4365679..9a3c453 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -4816,6 +4816,7 @@ cmd_groups (int interactive, struct cmdarg **args)
fmt = xsprintf ("%d%c%s", cur->number, separator, cur->name);
sbuf_concat (buffer, fmt);
+ free (fmt);
/* Pad end of group name with a space for row style. */
if (defaults.window_list_style == STYLE_ROW && interactive)
--
1.5.6.2.291.g7eef3.dirty