commit | 54024c8021ab9ca50927e2c08df1bc95dd63d3f1 | [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 | 482a0f17649f4fbae0f1aa02582cd27a955bf612 [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>