Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d3ae8562 authored by Ajay Kumar Gupta's avatar Ajay Kumar Gupta Committed by Greg Kroah-Hartman
Browse files

usb: host: ehci: fix missing kfree in remove path also



Added missing kfree() in ehci_hcd_omap_remove().

Signed-off-by: default avatarAjay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5fc4e779
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -681,6 +681,7 @@ static int ehci_hcd_omap_remove(struct platform_device *pdev)
	iounmap(omap->tll_base);
	iounmap(omap->tll_base);
	iounmap(omap->uhh_base);
	iounmap(omap->uhh_base);
	usb_put_hcd(hcd);
	usb_put_hcd(hcd);
	kfree(omap);


	return 0;
	return 0;
}
}