[mutter] shaped-texture: Fix memory leak
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] shaped-texture: Fix memory leak
- Date: Sat, 14 Sep 2013 15:06:40 +0000 (UTC)
commit 4009267c2ba2c037b93443ee235159c09e659284
Author: Pavel Vasin <rat4vier gmail com>
Date: Sat Sep 14 16:20:41 2013 +0400
shaped-texture: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=708070
src/compositor/meta-shaped-texture.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c
index 0529820..505232f 100644
--- a/src/compositor/meta-shaped-texture.c
+++ b/src/compositor/meta-shaped-texture.c
@@ -118,6 +118,7 @@ meta_shaped_texture_dispose (GObject *object)
priv->paint_tower = NULL;
g_clear_pointer (&priv->texture, cogl_object_unref);
+ g_clear_pointer (&priv->opaque_region, cairo_region_destroy);
meta_shaped_texture_set_mask_texture (self, NULL);
meta_shaped_texture_set_clip_region (self, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]