aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarina Makienko2012-11-27 10:46:57 +0400
committerChris Ball2012-12-06 13:55:03 -0500
commit063f96c2230052356d8653381912e618a8ae951c (patch)
treefa34b830b6f5c498ebac3d4e9764ea3840201948 /drivers
parent06960a1b5d55d77d799050d2f62970d36d34a606 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/vub300.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c
index d5655a63eda4..cb9f361c03ab 100644
--- a/drivers/mmc/host/vub300.c
+++ b/drivers/mmc/host/vub300.c
@@ -2362,6 +2362,7 @@ error4:
error1:
usb_free_urb(command_out_urb);
error0:
+ usb_put_dev(udev);
return retval;
}