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:
Pascal Nowack 2021-12-07 09:33:16 +01:00
parent 65d8164833
commit d5f2ec6f1e

View File

@ -224,7 +224,6 @@ static void
clear_slow_keys (MetaInputDeviceNative *device)
{
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;
}