Skip to content
Commit 9406664a authored by JeffyChen's avatar JeffyChen Committed by Pekka Paalanen
Browse files

backend-drm: Cleanup output's disable head list when destroying it



Avoid memory use-after-free when the trying to remove entries from an
already freed list later.

Also add missing removal in drm_output_detach_head() and drm_head_destroy().

Signed-off-by: JeffyChen's avatarJeffy Chen <jeffy.chen@rock-chips.com>
parent 1db0da8c
Loading
Loading
Loading
Pipeline #1108952 passed with stages
in 7 minutes and 48 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment