commit | 698f9bf854bd4b4080ecc528ac64f499c7675a19 | [log] [tgz] |
---|---|---|
author | Daniel Stone <daniels@collabora.com> | Thu Nov 24 15:31:33 2016 +0000 |
committer | Daniel Stone <daniels@collabora.com> | Tue Nov 29 09:49:29 2016 +0000 |
tree | 58ac5c56d0d912618323b5c1983d1525ddec99fe | |
parent | 7dbb0e148f26e886197a1d8d1b6047531bcc2fbe [diff] |
compositor-wayland: Destroy cursor images earlier Destroying a wl_cursor will attempt to access the wl_display, which we have just freed. Avoid a segfault by destroying the cursor images before we destroy the display. Signed-off-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Dima Ryazanov <dima@gmail.com>