mirror of
https://github.com/brl/mutter.git
synced 2024-11-09 23:46:33 -05:00
barrier: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=698710
This commit is contained in:
parent
c2a9ccb7e2
commit
5b6621811c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user