mkimage: Don't close the file if it wasn't opened
The error path for fit_import_data() is incorrect if the second open() call fails. Reported-by: Coverity (CID: 138489) Signed-off-by:Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
Please register or sign in to comment