mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 02:20:43 -05:00
shaped-texture: Plug region leak
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1002
(cherry picked from commit b30a29f830
)
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…
Reference in New Issue
Block a user