window: Don't leak the input region
This commit is contained in:
parent
25f8eaf1ac
commit
cc839029b9
@ -264,6 +264,9 @@ meta_window_finalize (GObject *object)
|
|||||||
if (window->opaque_region)
|
if (window->opaque_region)
|
||||||
cairo_region_destroy (window->opaque_region);
|
cairo_region_destroy (window->opaque_region);
|
||||||
|
|
||||||
|
if (window->input_region)
|
||||||
|
cairo_region_destroy (window->input_region);
|
||||||
|
|
||||||
if (window->transient_for)
|
if (window->transient_for)
|
||||||
g_object_unref (window->transient_for);
|
g_object_unref (window->transient_for);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user