shaped-texture: Fix memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=708070
This commit is contained in:
Pavel Vasin 2013-09-14 16:20:41 +04:00 committed by Adel Gadllah
parent 0394b4a82b
commit b9247b4b2f

View File

@ -145,6 +145,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);