]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
isdn/bas_gigaset: fix a leak on failure path in gigaset_probe()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 25 Jul 2014 22:34:31 +0000 (02:34 +0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jul 2014 19:18:34 +0000 (12:18 -0700)
commit86b7987dd7a8acbaa54a446a73e2431da88b3ca1
treed180b311cd000250f74239c4567bbc124a2f62c5
parent04ca6973f7c1a0d8537f2d9906a0cf8e69886d75
isdn/bas_gigaset: fix a leak on failure path in gigaset_probe()

There is a lack of usb_put_dev(udev) on failure path in gigaset_probe().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/bas-gigaset.c