Re: [PATCH 1/2] drm/bridge: tfp410: fix memleak in get_modes()

2019-06-14 Thread Andrzej Hajda
On 10.06.2019 15:57, Tomi Valkeinen wrote: > 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 Queued both patches to drm-misc-fixes. -- Regards Andrzej

[PATCH 1/2] drm/bridge: tfp410: fix memleak in get_modes()

2019-06-10 Thread Tomi Valkeinen
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 --- drivers/gpu/drm/bridge/ti-tfp410.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dr