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

mkimage: Fix missing free() and close() in fit_build()


Make sure that both the error path and normal return free the buffer and
close the file.

Reported-by: Coverity (CID: 138491)
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent 21c2975a
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