Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
Loading
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