diff options
author | brl <brl> | 2007-05-19 12:34:57 +0000 |
---|---|---|
committer | brl <brl> | 2007-05-19 12:34:57 +0000 |
commit | 2ae15642de918f17a683329c517db21a1e5674a7 (patch) | |
tree | eede7fe1b86b96108c2f2a7ff25cf168009625ea /src | |
parent | 2d60835a3e8ba8af87f0b61e5ceb022f4ef37003 (diff) | |
download | ratpoison-2ae15642de918f17a683329c517db21a1e5674a7.zip |
* src/manage.c (get_wmname): free buffer to close memory hole
Diffstat (limited to 'src')
-rw-r--r-- | src/manage.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |