[mutter/wayland] shaped-texture: Fix memory leak
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] shaped-texture: Fix memory leak
- Date: Sat, 14 Sep 2013 15:07:55 +0000 (UTC)
commit b9247b4b2ff72841f1677cccfbd61c4726aed2a6
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 2dc75f8..30135d4 100644
--- a/src/compositor/meta-shaped-texture.c
+++ b/src/compositor/meta-shaped-texture.c
@@ -145,6 +145,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]