mirror of
https://github.com/brl/mutter.git
synced 2025-02-05 16:14:10 +00:00
![Carlos Garnacho](/assets/img/avatar_default.png)
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