This was just posted on the dri-devel list, and affects us also. It's
not a direct cherry-pick since we moved the code around.
BUG=none
TEST=by hand
Change-Id: Ibd76bc48094e466fe574af23d37c8df1e0262a8d
Signed-off-by: Egbert Eich <eich@suse.de>
Reviewed-on: https://gerrit.chromium.org/gerrit/38334
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Commit-Ready: Stéphane Marchesin <marcheu@chromium.org>
Tested-by: Stéphane Marchesin <marcheu@chromium.org>
DRM_DEBUG_KMS("%s : width[%d] x height[%d]\n",
(hdata->has_hdmi_sink ? "hdmi monitor" : "dvi monitor"),
raw_edid->width_cm, raw_edid->height_cm);
+ kfree(raw_edid);
} else {
return -ENODEV;
}