diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2024-07-11 14:26:55 +0300 |
---|---|---|
committer | Robert Foss <rfoss@kernel.org> | 2024-08-05 17:39:14 +0200 |
commit | 1fb0847392e220890c9cf8908e3ab8e7e1227ff6 (patch) | |
tree | 2b8382e77cffdecb66e33a3261bab5bcedae0208 /rust | |
parent | ce4a995884ecedb98ba00e2e0b8ce94cde2060ce (diff) |
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: c12907be57b1 ("drm/bridge-connector: switch to using drmm allocations")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Signed-off-by: default avatarRobert Foss <rfoss@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240711-bridge-connector-fix-dbl-free-v1-1-d558b2d0eb93@collabora.com
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions