mirror of
https://github.com/torvalds/linux.git
synced 2024-10-30 08:42:47 +00:00
mmc: vub300: add missing usb_put_dev
Add missing usb_put_dev on failure path in vub300_probe(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Marina Makienko <makienko@ispras.ru> Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
parent
06960a1b5d
commit
063f96c223
@ -2362,6 +2362,7 @@ error4:
|
||||
error1:
|
||||
usb_free_urb(command_out_urb);
|
||||
error0:
|
||||
usb_put_dev(udev);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user