]> git.baikalelectronics.ru Git - kernel.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)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 26 Jul 2020 16:04:06 +0000 (18:04 +0200)
commit3ee7f6783cbaac2a22251ad89cc561e9b9424208
tree7df7f5c36aa48ced5c9c2b5716d20b25aa6ae9f6
parent68bf2fa838eb8310f64b3281d7808c70245295e7
drm: of: Fix double-free bug

Fix double-free bug in the error path.

Fixes: 9532ecece4e6 ("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
drivers/gpu/drm/drm_of.c