projects
/
dana
/
xcompmgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a server resource leak on destroying windows.
[dana/xcompmgr.git]
/
xcompmgr.c
diff --git
a/xcompmgr.c
b/xcompmgr.c
index
ef4259b
..
31ecc33
100644
(file)
--- a/
xcompmgr.c
+++ b/
xcompmgr.c
@@
-1620,6
+1620,11
@@
finish_destroy_win (Display *dpy, Window id, Bool gone)
XRenderFreePicture (dpy, w->shadowPict);
w->shadowPict = None;
}
+ if (w->shadow)
+ {
+ XRenderFreePicture (dpy, w->shadow);
+ w->shadow = None;
+ }
if (w->damage != None)
{
set_ignore (dpy, NextRequest (dpy));