summaryrefslogtreecommitdiff
path: root/drivers/media/usb/pwc/pwc-if.c
diff options
context:
space:
mode:
authorDinghao Liu <dinghao.liu@zju.edu.cn>2021-01-02 09:26:37 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-01-12 18:22:17 +0100
commit76aaf8a96771c16365b8510f1fb97738dc88026e (patch)
treeb22a363e71f19e149eea1cf2b5dd14ec9ed48353 /drivers/media/usb/pwc/pwc-if.c
parent15d0c52241ecb1c9d802506bff6f5c3f7872c0df (diff)
media: tm6000: Fix memleak in tm6000_start_stream
When usb_clear_halt() fails, dvb->bulk_urb->transfer_buffer and dvb->bulk_urb should be freed just like when usb_submit_urb() fails. Fixes: 3169c9b26fffa ("V4L/DVB (12788): tm6000: Add initial DVB-T support") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/usb/pwc/pwc-if.c')
0 files changed, 0 insertions, 0 deletions