]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - sitara-epos/sitara-epos-kernel.git/commitdiff
usb: host: ehci: fix missing kfree in remove path also
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Mon, 5 Jul 2010 14:04:59 +0000 (17:04 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 5 Jul 2010 14:04:59 +0000 (17:04 +0300)
Added missing kfree() in ehci_hcd_omap_remove().

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/host/ehci-omap.c

index 5450e628157f4fcf89bbf68b228516be6eeaf54e..2de844121c596aa1b367c620478ed931eb9192df 100644 (file)
@@ -698,6 +698,7 @@ err_uhh_ioremap:
 
 err_ioremap:
        usb_put_hcd(hcd);
+       kfree(omap);
 
 err_create_hcd:
        kfree(omap);