[mutter/wayland] window: Fix memory leak



commit 0394b4a82b49b2827a0c54139fc32f713fe09427
Author: Pavel Vasin <rat4vier gmail com>
Date:   Sat Sep 14 16:19:46 2013 +0400

    window: Fix memory leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708070

 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 bb69cfd..818d683 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);
 


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