summaryrefslogtreecommitdiff
path: root/drivers/android
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-08-19 16:22:28 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-29 09:57:37 +0100
commit48c121a74fb62a9dd7d4f2be46f14f68cc5b9caa (patch)
tree29348d5bc1e08a73ed52dd7d203aa69467d3ac46 /drivers/android
parent751c4cf0ee6206a2b48b336c8af699cf9818adc4 (diff)
drm/crc-debugfs: Fix memleak in crc_control_write
[ Upstream commit f7ec68b341dbd5da13d4c65ce444dcd605f1c42e ] When verify_crc_source() fails, source needs to be freed. However, current code is returning directly and ends up leaking memory. Fixes: d5cc15a0c66e ("drm: crc: Introduce verify_crc_source callback") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> [danvet: change Fixes: tag per Laurent's review] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20200819082228.26847-1-dinghao.liu@zju.edu.cn Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/android')
0 files changed, 0 insertions, 0 deletions