diff --git a/src/core/window.c b/src/core/window.c index 9b49cfbab..002e4c5f0 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -234,6 +234,9 @@ meta_window_finalize (GObject *object) if (window->frame_bounds) cairo_region_destroy (window->frame_bounds); + if (window->shape_region) + cairo_region_destroy (window->shape_region); + if (window->opaque_region) cairo_region_destroy (window->opaque_region);