summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2011-06-03 19:50:48 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-06 16:28:04 -0700
commit3af51ac9c0889a188aaa3defe5134ef97c80d7c5 (patch)
tree885420d55c95fe8a39da6aa70e537830df38f60c /drivers/usb
parent6bc129532176fcafb4202b73b3f431986391a362 (diff)
downloadblackbird-obmc-linux-3af51ac9c0889a188aaa3defe5134ef97c80d7c5.tar.gz
blackbird-obmc-linux-3af51ac9c0889a188aaa3defe5134ef97c80d7c5.zip
usb/renesas_usbhs: free uep on removal
Can't find evidence that this is actually done. Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/renesas_usbhs/mod_gadget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c
index 206cfabc9286..547486ccd059 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);
}
OpenPOWER on IntegriCloud