[PATCH] drm/imx: fix memory leak when fails to init

Philipp Zabel pza at pengutronix.de
Thu Mar 25 07:07:09 GMT 2021


On Wed, Jan 20, 2021 at 01:16:08AM -0800, Pan Bian wrote:
> Put DRM device on initialization failure path rather than directly
> return error code.
> 
> Fixes: a67d5088ceb8 ("drm/imx: drop explicit drm_mode_config_cleanup")
> Signed-off-by: Pan Bian <bianpan2016 at 163.com>

Thank you, applied to imx-drm/fixes.

regards
Philipp



More information about the linux-arm-kernel mailing list