aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-mem2mem.c
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2020-08-26 11:26:04 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-26 10:15:39 +0200
commit21d387b8d372f859d9e87fdcc7c3b4a432737f4d (patch)
tree5346b26de46e1fe3742032ce85721001e069ca8f /drivers/media/v4l2-core/v4l2-mem2mem.c
parentmedia: usb: uvc: no need to check return value of debugfs_create functions (diff)
downloadlinux-dev-21d387b8d372f859d9e87fdcc7c3b4a432737f4d.tar.xz
linux-dev-21d387b8d372f859d9e87fdcc7c3b4a432737f4d.zip
media: mx2_emmaprp: Fix memleak in emmaprp_probe
When platform_get_irq() fails, we should release vfd and unregister pcdev->v4l2_dev just like the subsequent error paths. Fixes: d4e192cc44914 ("media: mx2_emmaprp: Check for platform_get_irq() error") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-mem2mem.c')
0 files changed, 0 insertions, 0 deletions