backends/native: Stop freeing slow keys list twice
Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1225 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2138>
This commit is contained in:
parent
65d8164833
commit
d5f2ec6f1e
@ -224,7 +224,6 @@ static void
|
|||||||
clear_slow_keys (MetaInputDeviceNative *device)
|
clear_slow_keys (MetaInputDeviceNative *device)
|
||||||
{
|
{
|
||||||
g_list_free_full (device->slow_keys_list, meta_input_device_native_free_pending_slow_key);
|
g_list_free_full (device->slow_keys_list, meta_input_device_native_free_pending_slow_key);
|
||||||
g_list_free (device->slow_keys_list);
|
|
||||||
device->slow_keys_list = NULL;
|
device->slow_keys_list = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user