[mutter/cherry-pick-d5f2ec6f] backends/native: Stop freeing slow keys list twice




commit 62609d7a6a7e9cfc34d4eebf2e1a7a29151810ae
Author: Pascal Nowack <Pascal Nowack gmx de>
Date:   Tue Dec 7 09:33:16 2021 +0100

    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)

 src/backends/native/meta-input-device-native.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/backends/native/meta-input-device-native.c b/src/backends/native/meta-input-device-native.c
index 468aef5576..6ee6f4961f 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;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]