barrier: Fix memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=698710
This commit is contained in:
Pavel Vasin 2013-04-23 09:49:29 +04:00 committed by Rui Matos
parent c2a9ccb7e2
commit 5b6621811c

View File

@ -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