
24 Oct
2023
24 Oct
'23
8:03 p.m.
On Tue, 24 Oct 2023 at 00:26, Heinrich Schuchardt heinrich.schuchardt@canonical.com wrote:
Do not leak file descriptor if writing fails. Correct the error text if opening a file fails.
Addresses-Coverity-ID: 467054 Resource leaks Fixes: 64fd30d367a1 ("tools: mkimage: Add StarFive SPL image support") Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com
tools/sfspl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org