From 0394b4a82b49b2827a0c54139fc32f713fe09427 Mon Sep 17 00:00:00 2001 From: Pavel Vasin Date: Sat, 14 Sep 2013 16:19:46 +0400 Subject: [PATCH] window: Fix memory leak https://bugzilla.gnome.org/show_bug.cgi?id=708070 --- src/core/window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/window.c b/src/core/window.c index bb69cfd8d..818d683d9 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -236,6 +236,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);