diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-10-24 09:26:38 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-30 15:32:49 -0400 |
commit | 54024c8021ab9ca50927e2c08df1bc95dd63d3f1 (patch) | |
tree | bec686ba8c04a15084dfe3365c4a066cac928393 /scripts | |
parent | 482a0f17649f4fbae0f1aa02582cd27a955bf612 (diff) | |
download | u-boot-54024c8021ab9ca50927e2c08df1bc95dd63d3f1.tar.gz |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions