diff options
author | Kuldeep Singh <kuldeep.singh@nxp.com> | 2020-09-11 16:36:48 +0530 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-09-24 20:57:32 +0530 |
commit | 63d534461555c7948eeddf6250f76019b329b15a (patch) | |
tree | f7e887385562a93eb2affd84afd387554c08a906 /include/dm/platform_data/spi_coldfire.h | |
parent | 450d491293bb600cd16ccadbe947d977b1f2142f (diff) |
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: e0152dbed683 ("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>
Diffstat (limited to 'include/dm/platform_data/spi_coldfire.h')
0 files changed, 0 insertions, 0 deletions