Carlos Garnacho
3ff6316562
wayland: Protect against unordered destruction of surface resources
If the wl_surface resource happens to be destroyed before any other role resource, the destructor for the latter will attempt to access/modify random memory. Fix this by ensuring the associated resources are destroyed on the wl_surface destructor, this will free all associated memory and remove the resources ahead of their imminent destruction. https://bugzilla.gnome.org/show_bug.cgi?id=745734
…
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%