u-boot/drivers/usb/cdns3
Luo Ji 9d6623f13f MA-14379 [coverity] Resource leak (RESOURCE_LEAK)
Fix coverity issue: CID 2970630: Resource leak (RESOURCE_LEAK)
leaked_storage: Variable cdns going out of scope leaks the storage
it points to.

Memory allocated by devm_kzalloc() won't be freed automatically in
u-boot, free the memory manually here.

Test: Coverity scan pass.

Change-Id: I3000a2385941cef3b8b7e01611cfdc999971a4ca
Signed-off-by: Luo Ji <ji.luo@nxp.com>
2019-03-14 17:24:21 +08:00
..
Kconfig MLK-20493-4 usb: cdns3: change device mode to be USB3 by default 2018-12-18 14:38:49 +08:00
Makefile
cdns3-nxp-reg-def.h
core.c MA-14379 [coverity] Resource leak (RESOURCE_LEAK) 2019-03-14 17:24:21 +08:00
core.h
dev-regs-macro.h
dev-regs-map.h
gadget-export.h
gadget.c MLK-20493-4 usb: cdns3: change device mode to be USB3 by default 2018-12-18 14:38:49 +08:00
gadget.h
io.h
linux-compat.h