commit | e3a0467387cb1c119517be77ab3f8cb5b95d2fb0 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Tue Oct 24 09:26:38 2023 +0200 |
committer | Tom Rini <trini@konsulko.com> | Mon Oct 30 15:32:49 2023 -0400 |
tree | bec686ba8c04a15084dfe3365c4a066cac928393 | |
parent | 8f32b9330ec796700731cc4ea04a1ba24c4d0464 [diff] |
tools: mkimage: fix sfspl_image_extract_subimage() 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> Reviewed-by: Simon Glass <sjg@chromium.org>