diff options
author | Tomi Valkeinen | 2019-06-10 15:57:38 +0200 |
---|---|---|
committer | Andrzej Hajda | 2019-06-14 09:46:14 +0200 |
commit | c08f99c39083ab55a9c93b3e93cef48711294dad (patch) | |
tree | 9817eb10981127f2759fbc3107eacdf63e84e5cf /drivers/gpu/drm/drm_dp_helper.c | |
parent | drm/sun4i: sun6i_mipi_dsi: Fix hsync_porch overflow (diff) | |
download | kernel-qcow2-linux-c08f99c39083ab55a9c93b3e93cef48711294dad.tar.gz kernel-qcow2-linux-c08f99c39083ab55a9c93b3e93cef48711294dad.tar.xz kernel-qcow2-linux-c08f99c39083ab55a9c93b3e93cef48711294dad.zip |
drm/bridge: tfp410: fix memleak in get_modes()
We don't free the edid blob allocated by the call to drm_get_edid(),
causing a memleak. Fix this by calling kfree(edid) at the end of the
get_modes().
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190610135739.6077-1-tomi.valkeinen@ti.com
Diffstat (limited to 'drivers/gpu/drm/drm_dp_helper.c')
0 files changed, 0 insertions, 0 deletions