From 7db236b2a4160b5e9aa45f767e7743f432cbf5bb Mon Sep 17 00:00:00 2001 From: Pavel Vasin Date: Mon, 4 Mar 2013 19:00:14 +0400 Subject: [PATCH] window-actor: Fix leaked opaque_region https://bugzilla.gnome.org/show_bug.cgi?id=695135 --- src/compositor/meta-window-actor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index f9222ef39..402329ba6 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -2201,6 +2201,7 @@ check_needs_reshape (MetaWindowActor *self) meta_shaped_texture_set_mask_texture (META_SHAPED_TEXTURE (priv->actor), NULL); g_clear_pointer (&priv->shape_region, cairo_region_destroy); + g_clear_pointer (&priv->opaque_region, cairo_region_destroy); #ifdef HAVE_SHAPE if (priv->window->has_shape)