summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Nowack <Pascal.Nowack@gmx.de>2021-12-07 09:33:16 +0100
committerJonas Ã…dahl <jadahl@gmail.com>2021-12-07 12:58:22 +0000
commitb28c939cd9f9bedc4caeb703e5c826ec3b25c1a0 (patch)
tree995c8e2bef199a058ac64c91175757bdc3cd3d88
parent1875403107303796b4ea511e8c10b8ad7bf66693 (diff)
downloadmutter-b28c939cd9f9bedc4caeb703e5c826ec3b25c1a0.tar.gz
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> (cherry picked from commit d5f2ec6f1e5589c7ce24e54be93b92010f55fdef)
-rw-r--r--src/backends/native/meta-input-device-native.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backends/native/meta-input-device-native.c b/src/backends/native/meta-input-device-native.c
index 468aef557..6ee6f4961 100644
--- a/src/backends/native/meta-input-device-native.c
+++ b/src/backends/native/meta-input-device-native.c
@@ -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;
}