mirror of
https://github.com/brl/mutter.git
synced 2025-06-23 13:31:17 +00:00
d165eb90a18fca1376af2b45c517d0c800b2573f

If a device (virtual or real) is removed while there are remaining events queued for that device, the event loop may try to access the event freed memory. To avoid the issue, add a reference to the device when the event is created or copied, and remove the reference once the device is freed. Closes: https://gitlab.gnome.org/GNOME/mutter/issues/393
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%