mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![]() usb_create_hcd will alloc memory for hcd, and we should
call usb_put_hcd to free it when platform_get_resource()
fails to prevent memory leak.
goto error2 label instead error1 to fix this.
Fixes:
|
||
---|---|---|
.. | ||
core.c | ||
core.h | ||
core_intr.c | ||
debug.h | ||
debugfs.c | ||
drd.c | ||
gadget.c | ||
hcd.c | ||
hcd.h | ||
hcd_ddma.c | ||
hcd_intr.c | ||
hcd_queue.c | ||
hw.h | ||
Kconfig | ||
Makefile | ||
params.c | ||
pci.c | ||
platform.c |