Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 063f96c2 authored by Marina Makienko's avatar Marina Makienko Committed by Chris Ball
Browse files

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: default avatarMarina Makienko <makienko@ispras.ru>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 06960a1b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2362,6 +2362,7 @@ static int vub300_probe(struct usb_interface *interface,
error1:
	usb_free_urb(command_out_urb);
error0:
	usb_put_dev(udev);
	return retval;
}