u-boot-brain/drivers/net/pfe_eth
Kuldeep Singh 63d5344615 net: pfe_eth: Fix resoure leak in pfe_spi_flash_init
Fix Coverity issue: RESOURCE_LEAK.
leaked_storage: Variable addr going out of scope leaks the storage it
points to.

Fixes: e0152dbed6 ("net: pfe_eth: Use spi_flash_read API to access
flash memory")
Signed-off-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
2020-09-24 20:57:32 +05:30
..
Kconfig configs: ls1012a: add pfe configuration for LS1012A 2018-03-22 15:05:31 -05:00
Makefile drivers: cosmetic: Convert SPDX license tags to Linux Kernel style 2018-10-28 09:26:39 -04:00
pfe_cmd.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
pfe_driver.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
pfe_eth.c ls1012a, pfe_eth: Update probe to avoid resource leak 2020-09-24 20:57:32 +05:30
pfe_firmware.c net: pfe_eth: Fix resoure leak in pfe_spi_flash_init 2020-09-24 20:57:32 +05:30
pfe_hw.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pfe_mdio.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00