libweston: Cleanup output's animation list when removing it
Avoid memory use-after-free when the animation try to delete itself from an already freed list in it's destruction.
Signed-off-by: Jeffy Chen jeffy.chen@rock-chips.com
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Avoid memory use-after-free when the animation try to delete itself from an already freed list in it's destruction.
Signed-off-by: Jeffy Chen jeffy.chen@rock-chips.com