summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-12-03 13:15:39 +0100
committerTilman Sauerbeck <tilman@code-monkey.de>2006-12-03 13:15:39 +0100
commit6c539182a53a19144edbe1c49fd41c51757173a4 (patch)
tree29c0194839d32ae9c872b06a212309c9b05a90b7
parentd75fd64f7aefd818dcac7ab2ebdf57e69bf12ea5 (diff)
Bug #2703: Fixed a memory leak in the fading code.
-rw-r--r--xcompmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xcompmgr.c b/xcompmgr.c
index 5996d1a..816123b 100644
--- a/xcompmgr.c
+++ b/xcompmgr.c
@@ -1599,7 +1599,7 @@ finish_destroy_win (Display *dpy, Window id, Bool gone)
for (prev = &list; (w = *prev); prev = &w->next)
if (w->id == id)
{
- if (!gone)
+ if (gone)
finish_unmap_win (dpy, w);
*prev = w->next;
if (w->picture)