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
2015-03-16 18:02:43 +01:00
2015-03-15 14:41:22 +01:00
2015-03-04 21:00:48 +01:00
2015-03-04 21:00:48 +01:00
Description
94 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%