[PATCH 2/2] imx-drm: fix imxpd-->edid memleak
Peter Seiderer
ps.report at gmx.net
Thu Dec 5 15:00:16 PST 2013
---
drivers/staging/imx-drm/parallel-display.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/imx-drm/parallel-display.c b/drivers/staging/imx-drm/parallel-display.c
index 24aa9be..705a914 100644
--- a/drivers/staging/imx-drm/parallel-display.c
+++ b/drivers/staging/imx-drm/parallel-display.c
@@ -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;
}
--
1.8.1.4
More information about the dri-devel
mailing list