[mutter] window: Fix memory leak
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] window: Fix memory leak
- Date: Sat, 14 Sep 2013 15:06:35 +0000 (UTC)
commit 8a370c00947b8d6b020593ebe2ef78539a1755b3
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 9b49cfb..002e4c5 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]