backend-drm: Cleanup output's disable head list when destroying it
Avoid memory use-after-free when the trying to remove it from an already freed list later.
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 trying to remove it from an already freed list later.
Signed-off-by: Jeffy Chen jeffy.chen@rock-chips.com