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-Tag: upstream/snapshot3+hdmi~15518^2~139 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d3ae8562d43fe2b97d605dd67dc67bf8fa9b956a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 74d07f4..2460f0d 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; }