Re: [PATCH weston] exposay: Fix use after free when a view is destroyed during animation

2015-05-29 Thread Pekka Paalanen
On Tue, 26 May 2015 16:21:05 -0500 Derek Foreman wrote: > Moving the destroy listener setup allows the animation completion handler > to be called before we free any structures it needs. > > Signed-off-by: Derek Foreman > --- > desktop-shell/exposay.c | 12 +--- > 1 file changed, 9 ins

[PATCH weston] exposay: Fix use after free when a view is destroyed during animation

2015-05-26 Thread Derek Foreman
Moving the destroy listener setup allows the animation completion handler to be called before we free any structures it needs. Signed-off-by: Derek Foreman --- desktop-shell/exposay.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/desktop-shell/exposay.c b/deskt