mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
Olivier Fourdan
d165eb90a1
clutter: Keep a device reference with events
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%