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
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