diff options
| author | Heinrich Schuchardt <[email protected]> | 2023-10-24 09:26:38 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-10-30 15:32:49 -0400 |
| commit | 54024c8021ab9ca50927e2c08df1bc95dd63d3f1 (patch) | |
| tree | bec686ba8c04a15084dfe3365c4a066cac928393 /drivers/memory | |
| 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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions
