>-Original Message-
>From: Kuldeep Singh
>Sent: Friday, September 11, 2020 4:37 PM
>To: u-boot@lists.denx.de
>Cc: Priyanka Jain ; Ashish Kumar
>; Kuldeep Singh
>Subject: [PATCH 1/2] net: pfe_eth: Fix resoure leak in pfe_spi_flash_init
>
>Fix Coverity issue: RES
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
---
drivers/net/pfe_eth/pfe_firmware.c | 4
1 file changed, 4
2 matches
Mail list logo