public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ehci: fix missing kfree in remove path also
@ 2009-12-16 13:36 Ajay Kumar Gupta
  2009-12-28 23:42 ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Ajay Kumar Gupta @ 2009-12-16 13:36 UTC (permalink / raw)
  To: linux-omap; +Cc: felipe.balbi, Ajay Kumar Gupta

Added missing kfree() in ehci_hcd_omap_remove().

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
---
 drivers/usb/host/ehci-omap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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;
 }
-- 
1.6.2.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-29 12:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-16 13:36 [PATCH] ehci: fix missing kfree in remove path also Ajay Kumar Gupta
2009-12-28 23:42 ` Tony Lindgren
2009-12-29 12:50   ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox