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 ff7c85c599
commit 0394b4a82b

View File

@ -236,6 +236,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);