window: Don't leak the input region

This commit is contained in:
Jasper St. Pierre 2014-07-28 11:20:19 +02:00
parent 25f8eaf1ac
commit cc839029b9

View File

@ -264,6 +264,9 @@ meta_window_finalize (GObject *object)
if (window->opaque_region)
cairo_region_destroy (window->opaque_region);
if (window->input_region)
cairo_region_destroy (window->input_region);
if (window->transient_for)
g_object_unref (window->transient_for);