Re: [PATCH] Fix for segmentation fault due to outdated list link pointers

2011-10-24 Thread Kristian Høgsberg
On Thu, Oct 20, 2011 at 3:38 PM, Jonas Ådahl wrote: > Hi, > > Attached you will find two patches (one for wayland.git and one for > wayland-demos.git) that fixes some crashes I've seen. > > The reason has been that after a surface destroyed listener gets > called, its link is not reset. This may r

[PATCH] Fix for segmentation fault due to outdated list link pointers

2011-10-20 Thread Jonas Ådahl
Hi, Attached you will find two patches (one for wayland.git and one for wayland-demos.git) that fixes some crashes I've seen. The reason has been that after a surface destroyed listener gets called, its link is not reset. This may result memory corruption (specifically in resource destroyed liste