diff options
author | Ali Gholami Rudi <aliqrudi@gmail.com> | 2008-09-23 17:19:54 +0330 |
---|---|---|
committer | Shawn <sabetts@juicebox.(none)> | 2008-10-10 13:54:01 -0700 |
commit | ddf7f1104af0663ba730b5b82607843fe988109e (patch) | |
tree | ab150fc4f48f0966d2f9b81fab0cebfff7cb744e /src | |
parent | 2c2989660cb285509775acdf0950aab2ae6715db (diff) | |
download | ratpoison-ddf7f1104af0663ba730b5b82607843fe988109e.zip |
src/actions.c: fix memory leak in cmd_groups()
Diffstat (limited to 'src')
-rw-r--r-- | src/actions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/actions.c b/src/actions.c index ec1c54a..7d73fd2 100644 --- a/src/actions.c +++ b/src/actions.c @@ -4884,6 +4884,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) |