Skip to content
Snippets Groups Projects
Commit 5b15a259 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 3bd3a54a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment