mirror of
https://github.com/brl/mutter.git
synced 2025-02-10 10:24:09 +00:00
wayland-seat: Use g_free to cleanup MetaWaylandSeat
MetaWaylandSeat is allocated using g_new0(), and thus we should use g_free() to destroy it. https://gitlab.gnome.org/GNOME/mutter/merge_requests/581 (cherry picked from commit 040578657309a515df4c73b51a068140ad477f03)
This commit is contained in:
parent
9b8a3fbaed
commit
fc74c7def9
@ -264,7 +264,7 @@ meta_wayland_seat_free (MetaWaylandSeat *seat)
|
||||
g_object_unref (seat->touch);
|
||||
meta_wayland_text_input_destroy (seat->text_input);
|
||||
|
||||
g_slice_free (MetaWaylandSeat, seat);
|
||||
g_free (seat);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
Loading…
x
Reference in New Issue
Block a user