From cc839029b9bde783a8ba4346bc3c5d1013d86028 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Mon, 28 Jul 2014 11:20:19 +0200 Subject: [PATCH] window: Don't leak the input region --- src/core/window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/window.c b/src/core/window.c index 0a77203e3..33868750c 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -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);