[mutter/gnome-3-8] barrier: Fix memory leak
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gnome-3-8] barrier: Fix memory leak
- Date: Mon, 29 Apr 2013 14:03:36 +0000 (UTC)
commit 51d98be1f23b8018110b4f3d1ee966c6bf896fad
Author: Pavel Vasin <rat4vier gmail com>
Date: Tue Apr 23 09:49:29 2013 +0400
barrier: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=698710
src/core/barrier.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/core/barrier.c b/src/core/barrier.c
index 80ac3cd..643b26e 100644
--- a/src/core/barrier.c
+++ b/src/core/barrier.c
@@ -59,6 +59,8 @@ struct _MetaBarrierPrivate
PointerBarrier xbarrier;
};
+static void meta_barrier_event_unref (MetaBarrierEvent *event);
+
static void
meta_barrier_get_property (GObject *object,
guint prop_id,
@@ -359,6 +361,8 @@ meta_barrier_fire_event (MetaBarrier *barrier,
default:
g_assert_not_reached ();
}
+
+ meta_barrier_event_unref (event);
}
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]