diff options
author | Cristian Ciocaltea <[email protected]> | 2024-07-11 14:26:55 +0300 |
---|---|---|
committer | Robert Foss <[email protected]> | 2024-08-05 17:39:14 +0200 |
commit | 1fb0847392e220890c9cf8908e3ab8e7e1227ff6 (patch) | |
tree | 2b8382e77cffdecb66e33a3261bab5bcedae0208 /drivers/usb/cdns3/cdns3-debug.h | |
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 <[email protected]>
Signed-off-by: default avatarRobert Foss <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20240711-bridge-connector-fix-dbl-free-v1-1-d558b2d0eb93@collabora.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions