Re: [PATCH weston 2/2] compositor-wayland: Destroy cursor images earlier

2016-11-28 Thread Dima Ryazanov
On Thu, Nov 24, 2016 at 7:32 AM, Daniel Stone wrote: > 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 > Yep, fixes the crash for me. Revi

Re: [PATCH weston 2/2] compositor-wayland: Destroy cursor images earlier

2016-11-28 Thread Peter Hutterer
On Thu, Nov 24, 2016 at 03:32:41PM +, Daniel Stone wrote: > 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 Reviewed-by: Peter Hutterer

[PATCH weston 2/2] compositor-wayland: Destroy cursor images earlier

2016-11-24 Thread Daniel Stone
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 --- libweston/compositor-wayland.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) di