<br>Ok, I modifed the subject of your patch like below and applied.<br><br>drm/exynos: fix memory lean to EDID block<br><br><br>Thanks,<br>Inki Dae<br><br><div class="gmail_quote">2012/11/20 Egbert Eich <span dir="ltr"><<a href="mailto:eich@suse.de" target="_blank">eich@suse.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">drm_get_edid() returns a pointer to an EDID block. The caller<br>
is responsible to free this pointer itself.<br>
Here the pointer gets assigned to the local variable raw_edid.<br>
Therefore it should be freed before the variable goes out of<br>
scope.<br>
<br>
Signed-off-by: Egbert Eich <<a href="mailto:eich@suse.de">eich@suse.de</a>><br>
---<br>
 drivers/gpu/drm/exynos/exynos_hdmi.c |    1 +<br>
 1 files changed, 1 insertions(+), 0 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c<br>
index 2c115f8..bc87bca 100644<br>
--- a/drivers/gpu/drm/exynos/exynos_hdmi.c<br>
+++ b/drivers/gpu/drm/exynos/exynos_hdmi.c<br>
@@ -1293,6 +1293,7 @@ static int hdmi_get_edid(void *ctx, struct drm_connector *connector,<br>
                DRM_DEBUG_KMS("%s : width[%d] x height[%d]\n",<br>
                        (hdata->dvi_mode ? "dvi monitor" : "hdmi monitor"),<br>
                        raw_edid->width_cm, raw_edid->height_cm);<br>
+               kfree(raw_edid);<br>
        } else {<br>
                return -ENODEV;<br>
        }<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.7<br>
<br>
_______________________________________________<br>
dri-devel mailing list<br>
<a href="mailto:dri-devel@lists.freedesktop.org">dri-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/dri-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/dri-devel</a><br>
</font></span></blockquote></div><br>