From: Sebastian Andrzej Siewior Date: Fri, 3 Jun 2011 17:50:48 +0000 (+0200) Subject: usb/renesas_usbhs: free uep on removal X-Git-Tag: v3.0-rc3~29^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3af51ac9c0889a188aaa3defe5134ef97c80d7c5;p=profile%2Fcommon%2Fkernel-common.git usb/renesas_usbhs: free uep on removal Can't find evidence that this is actually done. Cc: Kuninori Morimoto Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c index 206cfab..547486c 100644 --- a/drivers/usb/renesas_usbhs/mod_gadget.c +++ b/drivers/usb/renesas_usbhs/mod_gadget.c @@ -1380,5 +1380,6 @@ void __devexit usbhs_mod_gadget_remove(struct usbhs_priv *priv) { struct usbhsg_gpriv *gpriv = usbhsg_priv_to_gpriv(priv); + kfree(gpriv->uep); kfree(gpriv); }