]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm: of: Fix double-free bug
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 23 Jul 2020 11:10:54 +0000 (12:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2020 07:58:38 +0000 (09:58 +0200)
commit2342427fc3aa634fbe2e1597401cf61705b2868d
tree047a4198e296a8f0d43fab2b4a2e3c291952571b
parent5aa4eb5a6d915cf00bf104ddd76e1adbc3dabdc4
drm: of: Fix double-free bug

commit 4ee48cc5586bf519df19894273002aa8ef7b70ad upstream.

Fix double-free bug in the error path.

Fixes: 6529007522de ("drm: of: Add drm_of_lvds_get_dual_link_pixel_order")
Reported-by: Pavel Machek <pavel@denx.de>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: stable@vger.kernel.org
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1595502654-40595-1-git-send-email-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/drm_of.c