diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2019-06-10 09:57:38 -0400 |
---|---|---|
committer | Andrzej Hajda <a.hajda@samsung.com> | 2019-06-14 03:46:14 -0400 |
commit | c08f99c39083ab55a9c93b3e93cef48711294dad (patch) | |
tree | 9817eb10981127f2759fbc3107eacdf63e84e5cf /lib/mpi/mpiutil.c | |
parent | 51a0d1a90bff5d90a1a1c58e165928a0dd92268a (diff) |
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions