summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compositor/meta-compositor-xrender.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/compositor/meta-compositor-xrender.c b/src/compositor/meta-compositor-xrender.c
index 6acd3297..650b483b 100644
--- a/src/compositor/meta-compositor-xrender.c
+++ b/src/compositor/meta-compositor-xrender.c
@@ -920,6 +920,18 @@ meta_compositor_xrender_finalize (GObject *object)
if (xrender->root_picture)
XRenderFreePicture (xdisplay, xrender->root_picture);
+ if (xrender->root_buffer)
+ {
+ XRenderFreePicture (xdisplay, xrender->root_buffer);
+ xrender->root_buffer = None;
+ }
+
+ if (xrender->root_tile)
+ {
+ XRenderFreePicture (xdisplay, xrender->root_tile);
+ xrender->root_tile = None;
+ }
+
if (xrender->have_shadows)
{
int i;