commit | c0ee1ca0f3e487e1b6e315de17d07cb7e5047673 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Mar 16 07:45:41 2016 -0600 |
committer | Tom Rini <trini@konsulko.com> | Tue Mar 22 12:16:27 2016 -0400 |
tree | cbb61667065e1334f484d75510b30b16d0fb6b46 | |
parent | f3a6e8fc1b4cd4cd947601243b98094d4a966e16 [diff] |
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: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>