mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
ARM: OMAP2+: omap-usb-host: Fix memory leaks
Fix memory leaks in the error path. Also, use platform_device_register_full() to allocate the platform devices and set platform data. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
82702ea11d
commit
e41a5f88b3
1 changed files with 56 additions and 50 deletions
Loading…
Add table
Add a link
Reference in a new issue