Skip to content
Commit 63d53446 authored by Kuldeep Singh's avatar Kuldeep Singh Committed by Priyanka Jain
Browse files

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: e0152dbe ("net: pfe_eth: Use spi_flash_read API to access
flash memory")
Signed-off-by: default avatarKuldeep Singh <kuldeep.singh@nxp.com>
Reviewed-by: default avatarPriyanka Jain <priyanka.jain@nxp.com>
parent 450d4912
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment