From: Peter Seiderer <ps.report@gmx.net>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH v2] imx-drm: fix imxpd-->edid memleak
Date: Sun, 8 Dec 2013 22:03:58 +0100 [thread overview]
Message-ID: <1386536638-4450-2-git-send-email-ps.report@gmx.net> (raw)
In-Reply-To: <1386536638-4450-1-git-send-email-ps.report@gmx.net>
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Changes v1 -> v2:
- add missing Signed-off-by line
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
next prev parent reply other threads:[~2013-12-08 21:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-08 21:03 [PATCH v2] imx-drm: fix channel->edid memleak Peter Seiderer
2013-12-08 21:03 ` Peter Seiderer [this message]
2013-12-09 8:35 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1386536638-4450-2-git-send-email-ps.report@gmx.net \
--to=ps.report@gmx.net \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox