mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
Bug #2703: Fixed a memory leak in the fading code.
This commit is contained in:
parent
d75fd64f7a
commit
6c539182a5
1 changed files with 1 additions and 1 deletions
|
@ -1599,7 +1599,7 @@ finish_destroy_win (Display *dpy, Window id, Bool gone)
|
||||||
for (prev = &list; (w = *prev); prev = &w->next)
|
for (prev = &list; (w = *prev); prev = &w->next)
|
||||||
if (w->id == id)
|
if (w->id == id)
|
||||||
{
|
{
|
||||||
if (!gone)
|
if (gone)
|
||||||
finish_unmap_win (dpy, w);
|
finish_unmap_win (dpy, w);
|
||||||
*prev = w->next;
|
*prev = w->next;
|
||||||
if (w->picture)
|
if (w->picture)
|
||||||
|
|
Loading…
Reference in a new issue