Re: [PATCH weston] Destroy resources when destroying an output

2014-05-08 Thread Jason Ekstrand
On Thu, May 8, 2014 at 1:07 PM, Mariusz Ceier wrote: > Hi, >I sent similar patch in the past, and this reply from Pekka may be > still relevant: > > http://lists.freedesktop.org/archives/wayland-devel/2013-December/012691.html > See the reply I just sent out to the above e-mail. --Jason Ekstr

Re: [PATCH weston] Destroy resources when destroying an output

2014-05-08 Thread Mariusz Ceier
Hi, I sent similar patch in the past, and this reply from Pekka may be still relevant: http://lists.freedesktop.org/archives/wayland-devel/2013-December/012691.html Mariusz Ceier On 8 May 2014 19:38, Neil Roberts wrote: > When an output is destroyed it now also destroys any resources that >

[PATCH weston] Destroy resources when destroying an output

2014-05-08 Thread Neil Roberts
When an output is destroyed it now also destroys any resources that were pointing to it. Otherwise if the resource is destroyed after the output then the resource would try to remove itself from the resource list but the head of the resource list would no longer be valid and it would write to inval