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 8a370c0094
commit 4009267c2b

View File

@ -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);