shaped-texture: Plug region leak
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1002 (cherry picked from commit b30a29f830c3580bdf5a9b4757f4984691af7f58)
This commit is contained in:
parent
156dd576f4
commit
6b6e724425
@ -243,6 +243,8 @@ meta_shaped_texture_dispose (GObject *object)
|
||||
meta_shaped_texture_set_mask_texture (stex, NULL);
|
||||
meta_shaped_texture_reset_pipelines (stex);
|
||||
|
||||
g_clear_pointer (&stex->opaque_region, cairo_region_destroy);
|
||||
|
||||
g_clear_pointer (&stex->snippet, cogl_object_unref);
|
||||
|
||||
G_OBJECT_CLASS (meta_shaped_texture_parent_class)->dispose (object);
|
||||
|
Loading…
x
Reference in New Issue
Block a user