From 6c539182a53a19144edbe1c49fd41c51757173a4 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sun, 3 Dec 2006 13:15:39 +0100 Subject: Bug #2703: Fixed a memory leak in the fading code. --- xcompmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2