diff options
author | 2024-07-11 14:26:55 +0300 | |
---|---|---|
committer | 2024-08-05 17:39:14 +0200 | |
commit | 1fb0847392e220890c9cf8908e3ab8e7e1227ff6 (patch) | |
tree | 2b8382e77cffdecb66e33a3261bab5bcedae0208 /scripts/generate_rust_analyzer.py | |
parent | drm/omap: add CONFIG_MMU dependency (diff) | |
download | wireguard-linux-1fb0847392e220890c9cf8908e3ab8e7e1227ff6.tar.xz wireguard-linux-1fb0847392e220890c9cf8908e3ab8e7e1227ff6.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions