Re: [PATCH weston] compositor: fix memory corruption when removing an output

2014-09-09 Thread Pekka Paalanen
On Sat, 6 Sep 2014 16:18:02 +0300 Giulio Camuffo wrote: > The destructor set on the wl_output resources needs the weston_output > to be allocated, because it removes the resource from its list. > So unset the destructor on all the resources when destroying an > output. > --- > src/compositor.c

[PATCH weston] compositor: fix memory corruption when removing an output

2014-09-06 Thread Giulio Camuffo
The destructor set on the wl_output resources needs the weston_output to be allocated, because it removes the resource from its list. So unset the destructor on all the resources when destroying an output. --- src/compositor.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/composito