Bug #2703: Fixed a memory leak in the fading code.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sun, 3 Dec 2006 12:15:39 +0000 (13:15 +0100)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sun, 3 Dec 2006 12:15:39 +0000 (13:15 +0100)
xcompmgr.c

index 5996d1aa389673f7f600d61ba92c29fffcc6b6a9..816123bf9aa852cccf1717eed6037feec99c07f4 100644 (file)
@@ -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)