imx-drm: fix channel->edid memleak
Subsystems (2)
PATCH v2 1/1 imx-drm: fix channel->edid memleak
Signed-off-by Peter Seiderer <[email protected]>
---
Changes v1 -> v2:
- add missing Signed-off-by line
drivers/staging/imx-drm/imx-ldb.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/staging/imx-drm/imx-ldb.c +2 -0
@@ -599,6 +599,8 @@ static int imx_ldb_remove(struct platform_device *pdev)imx_drm_remove_connector (channel->imx_drm_connector);imx_drm_remove_encoder (channel->imx_drm_encoder); + +kfree (channel->edid); }return 0 ;
Signature · 1 line
1.8.1.4
PATCH v2 1/1 imx-drm: fix imxpd-->edid memleak
Signed-off-by Peter Seiderer <[email protected]>
---
Changes v1 -> v2:
- add missing Signed-off-by line
drivers/staging/imx-drm/parallel-display.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/staging/imx-drm/parallel-display.c +2 -0
@@ -248,6 +248,8 @@ static int imx_pd_remove(struct platform_device *pdev)imx_drm_remove_connector (imxpd->imx_drm_connector);imx_drm_remove_encoder (imxpd->imx_drm_encoder); +kfree (imxpd->edid); +return 0 ; }
Signature · 1 line
1.8.1.4
Quoted 8 lines · Peter Seiderer
Signed-off-by Peter Seiderer <[email protected]>---
Changes v1 -> v2:
- add missing Signed-off-by linedrivers/staging/imx-drm/imx-ldb.c | 2 ++ 1 file changed, 2 insertions(+)
Acked-by Sascha Hauer <[email protected]>
Sascha
Quoted 22 lines
drivers/staging/imx-drm/imx-ldb.c +2
-0@@ -599,6 +599,8 @@ static int imx_ldb_remove(struct platform_device *pdev)imx_drm_remove_connector (channel->imx_drm_connector);imx_drm_remove_encoder (channel->imx_drm_encoder); + +kfree (channel->edid); }return 0 ;Signature · 6 lines
1.8.1.4 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |