[mutter/gnome-3-8] window: Fix memory leak
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-3-8] window: Fix memory leak
- Date: Sat, 14 Sep 2013 15:11:55 +0000 (UTC)
commit f4ddff14b916eab6172f4748b6a7a69a932545cc
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 60347ef..fce37f9 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]