mirror of
https://github.com/brl/mutter.git
synced 2024-12-01 04:10:43 -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;
|
PointerBarrier xbarrier;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static void meta_barrier_event_unref (MetaBarrierEvent *event);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
meta_barrier_get_property (GObject *object,
|
meta_barrier_get_property (GObject *object,
|
||||||
guint prop_id,
|
guint prop_id,
|
||||||
@ -359,6 +361,8 @@ meta_barrier_fire_event (MetaBarrier *barrier,
|
|||||||
default:
|
default:
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
meta_barrier_event_unref (event);
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
|
Loading…
Reference in New Issue
Block a user