diff mbox

[2/2] imx-drm: fix imxpd-->edid memleak

Message ID 1386284416-8364-2-git-send-email-ps.report@gmx.net (mailing list archive)
State New, archived
Headers show

Commit Message

Peter Seiderer Dec. 5, 2013, 11 p.m. UTC
---
 drivers/staging/imx-drm/parallel-display.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

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;
 }