Skip to content
Commit b89ce117 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Daniel Vetter
Browse files

drm/armada: Fix a potential double free in an error handling path



'priv' is a managed resource, so there is no need to free it explicitly or
there will be a double free().

Fixes: 90ad200b ("drm/armada: Use devm_drm_dev_alloc")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/c4f3c9207a9fce35cb6dd2cc60e755275961588a.1640536364.git.christophe.jaillet@wanadoo.fr
parent 6fd33a33
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment