[mutter] window: Don't leak the input region



commit cc839029b9bde783a8ba4346bc3c5d1013d86028
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Jul 28 11:20:19 2014 +0200

    window: Don't leak the input region

 src/core/window.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 0a77203..3386875 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]