From: Greg Kroah-Hartman Date: Tue, 9 Sep 2014 03:11:18 +0000 (-0700) Subject: greybus: es1: forgot to free our urb on disconnect X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~2132 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d9d077fdbc474150b9494fc45855a9cec781e778;p=karo-tx-linux.git greybus: es1: forgot to free our urb on disconnect --- diff --git a/drivers/staging/greybus/es1-ap-usb.c b/drivers/staging/greybus/es1-ap-usb.c index da3523488165..767981a248c8 100644 --- a/drivers/staging/greybus/es1-ap-usb.c +++ b/drivers/staging/greybus/es1-ap-usb.c @@ -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);