window: Fix memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=708070
This commit is contained in:
Pavel Vasin 2013-09-14 16:19:46 +04:00 committed by Adel Gadllah
parent abe0701ce7
commit 8a370c0094

View File

@ -234,6 +234,9 @@ meta_window_finalize (GObject *object)
if (window->frame_bounds) if (window->frame_bounds)
cairo_region_destroy (window->frame_bounds); cairo_region_destroy (window->frame_bounds);
if (window->shape_region)
cairo_region_destroy (window->shape_region);
if (window->opaque_region) if (window->opaque_region)
cairo_region_destroy (window->opaque_region); cairo_region_destroy (window->opaque_region);