summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2014-09-16 01:36:15 +0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-23 23:13:43 +0400
commite87cb470896e9089d2185e1dcbe8d17b0e3361d3 (patch)
tree553b910852e0316c7efee708b1202c0ac850bfcd /.gitignore
parent3bacc10cd4a85bc70bc0b6c001d3bf995c7fe04c (diff)
downloadlinux-e87cb470896e9089d2185e1dcbe8d17b0e3361d3.tar.xz
[media] imon: fix usbdev leaks
imon_probe() does three usb_get_dev(), but there is no any usb_put_dev() in the driver. The patch adds usb_put_dev() to error paths, to imon_disconnect() and to imon_probe() as far as usbdev is not saved anywhere. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions