mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 11:00:54 -05:00
barrier: Fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=698710
This commit is contained in:
parent
859d231129
commit
51d98be1f2
@ -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