summaryrefslogtreecommitdiff
path: root/drivers/net/dwc_eth_xgmac_socfpga.c
diff options
context:
space:
mode:
authorAndrew Goodbody <andrew.goodbody@linaro.org>2025-08-01 11:39:13 +0100
committerMichael Trimarchi <michael@amarulasolutions.com>2025-08-03 10:20:16 +0200
commit42ef9a0b7f26ccd7b657e9686a406ee83b8bd08d (patch)
tree0d79a395615c66c446d32eb475d249d34799e041 /drivers/net/dwc_eth_xgmac_socfpga.c
parentae5711f881100f856ead1e76832c32b92dba93c7 (diff)
mtd: nand: pxa3xx: Free memory on error
In pxa3xx_nand_probe_dt if the function detects an error after allocating memory that memory is not freed before exit. Add the appropriate free. This issue was found by Smatch. Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org> Reviewed-by: MIchael Trimarchi <michael@amarulasolutions.com>
Diffstat (limited to 'drivers/net/dwc_eth_xgmac_socfpga.c')
0 files changed, 0 insertions, 0 deletions