Skip to content
Snippets Groups Projects
Unverified Commit 1fb08473 authored by Cristian Ciocaltea's avatar Cristian Ciocaltea Committed by Robert Foss
Browse files

drm/bridge-connector: Fix double free in error handling paths


The recent switch to drmm allocation in drm_bridge_connector_init() may
cause double free on bridge_connector in some of the error handling
paths.

Drop the explicit kfree() calls on bridge_connector.

Fixes: c12907be ("drm/bridge-connector: switch to using drmm allocations")
Signed-off-by: default avatarCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Signed-off-by: default avatardefault avatarRobert Foss <rfoss@kernel.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240711-bridge-connector-fix-dbl-free-v1-1-d558b2d0eb93@collabora.com
parent ce4a9958
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