mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
usb: host: ehci: fix missing kfree in remove path also
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>
This commit is contained in:
parent
5fc4e77911
commit
d3ae8562d4
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue