Commit d9d077fd authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: es1: forgot to free our urb on disconnect

parent 47f6ef12
......@@ -441,6 +441,7 @@ static void ap_disconnect(struct usb_interface *interface)
/* Tear down everything! */
usb_kill_urb(es1->svc_urb);
usb_free_urb(es1->svc_urb);
usb_put_dev(es1->usb_dev);
kfree(es1->svc_buffer);
greybus_remove_hd(es1->hd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment