From: Ajay Kumar Gupta Date: Mon, 28 Dec 2009 11:40:45 +0000 (+0200) Subject: usb: host: ehci: fix missing kfree in remove path also X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d3ae8562d43fe2b97d605dd67dc67bf8fa9b956a;p=linux-beck.git usb: host: ehci: fix missing kfree in remove path also Added missing kfree() in ehci_hcd_omap_remove(). Signed-off-by: Ajay Kumar Gupta Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci-omap.c b/drivers/usb/host/ehci-omap.c index 74d07f4e8b7d..2460f0d82990 100644 --- a/drivers/usb/host/ehci-omap.c +++ b/drivers/usb/host/ehci-omap.c @@ -681,6 +681,7 @@ static int ehci_hcd_omap_remove(struct platform_device *pdev) iounmap(omap->tll_base); iounmap(omap->uhh_base); usb_put_hcd(hcd); + kfree(omap); return 0; }