From 4009267c2ba2c037b93443ee235159c09e659284 Mon Sep 17 00:00:00 2001 From: Pavel Vasin Date: Sat, 14 Sep 2013 16:20:41 +0400 Subject: [PATCH] shaped-texture: Fix memory leak https://bugzilla.gnome.org/show_bug.cgi?id=708070 --- src/compositor/meta-shaped-texture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c index 0529820e3..505232f9a 100644 --- a/src/compositor/meta-shaped-texture.c +++ b/src/compositor/meta-shaped-texture.c @@ -118,6 +118,7 @@ meta_shaped_texture_dispose (GObject *object) priv->paint_tower = NULL; g_clear_pointer (&priv->texture, cogl_object_unref); + g_clear_pointer (&priv->opaque_region, cairo_region_destroy); meta_shaped_texture_set_mask_texture (self, NULL); meta_shaped_texture_set_clip_region (self, NULL);