[PATCH] drm/bridge: tc358767: fix EDID memory leak

Andrzej Hajda a.hajda at samsung.com
Wed Aug 26 15:54:50 UTC 2020


On 26.08.2020 15:40, Tomi Valkeinen wrote:
> The current EDID allocated with drm_get_edid() is freed when the driver
> gets a new EDID, but it is not freed when the driver is removed, causing
> a leak.
>
> Free the EDID (if any) on driver remove.
>
> Signed-off-by: Tomi Valkeinen <tomi.valkeinen at ti.com>
Reviewed-by: Andrzej Hajda <a.hajda at samsung.com>

Regards
Andrzej


More information about the dri-devel mailing list