diff options
| author | Cristian Ciocaltea <[email protected]> | 2024-07-11 11:26:55 +0000 |
|---|---|---|
| committer | Robert Foss <[email protected]> | 2024-08-05 15:39:14 +0000 |
| commit | 1fb0847392e220890c9cf8908e3ab8e7e1227ff6 (patch) | |
| tree | 2b8382e77cffdecb66e33a3261bab5bcedae0208 /drivers/platform/surface/aggregator/controller.c | |
| parent | drm/omap: add CONFIG_MMU dependency (diff) | |
| download | kernel-1fb0847392e220890c9cf8908e3ab8e7e1227ff6.tar.gz kernel-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 <[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/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions
