Andrew Goodbody dc37adfc04 drivers: qe: avoid double free()
Avoid calling free(addr) twice if the device for ucode is not found.
This patch repeats a similar fix but that only applied to code without
CONFIG_TFABOOT enabled. This patch applies to the code with
CONFIG_TFABOOT enabled.

This issue was found by Smatch.

Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2025-08-27 15:49:59 +08:00
..
2023-11-07 14:50:51 -05:00
2022-12-07 16:04:17 -05:00
2025-08-27 15:49:59 +08:00