commit | 7b0bbd886d553c3cffc5b3eb29256b05856076ee | [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 | 21c2975a9421c55938274a542976bc8d3746c1e3 [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>