aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2013-06-02 22:58:49 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-17 15:52:20 -0300
commite049ca5e854263c821a15c0e25fe2ae202c365e1 (patch)
tree9cd30b2a350ef938323f87c7ced98411f5446066 /drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c
parent07342664d3725de4b21478da222593da491afcd8 (diff)
[media] staging/media: lirc_imon: fix leaks in imon_probe()
Error handling of usb_submit_urb() is not as all others in imon_probe(). It just unlocks mutexes and returns nonzero leaving all already allocated resources unfreed. The patch makes sure all the resources are deallocated. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/mxl111sf-tuner.c')
0 files changed, 0 insertions, 0 deletions

Privacy Policy