mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
shaped-texture: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=708070
This commit is contained in:
parent
8a370c0094
commit
4009267c2b
@ -118,6 +118,7 @@ meta_shaped_texture_dispose (GObject *object)
|
|||||||
priv->paint_tower = NULL;
|
priv->paint_tower = NULL;
|
||||||
|
|
||||||
g_clear_pointer (&priv->texture, cogl_object_unref);
|
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_mask_texture (self, NULL);
|
||||||
meta_shaped_texture_set_clip_region (self, NULL);
|
meta_shaped_texture_set_clip_region (self, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user