diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/manage.c | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2007-05-19 Bernhard R. Link <brlink@debian.org> + + * src/manage.c (get_wmname): free buffer to close memory hole + 2007-05-17 Bernhard R. Link <brlink@debian.org> * src/actions.c (cmd_windows): free buffer to close memory hole diff --git a/src/manage.c b/src/manage.c index 50743b4..1f94ee7 100644 --- a/src/manage.c +++ b/src/manage.c @@ -209,6 +209,7 @@ get_wmname (Window w) name = (char *)text_prop.value; } else { XmbTextPropertyToTextList(dpy, &text_prop, &cl, &n); + XFree (text_prop.value); if (cl) { name = strdup(cl[0]); XFreeStringList(cl); |