diff options
author | Simon Glass <sjg@chromium.org> | 2016-03-16 07:45:41 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-22 12:16:27 -0400 |
commit | 7b0bbd886d553c3cffc5b3eb29256b05856076ee (patch) | |
tree | cbb61667065e1334f484d75510b30b16d0fb6b46 /tools/ifdtool.h | |
parent | 21c2975a9421c55938274a542976bc8d3746c1e3 (diff) | |
download | u-boot-imx-7b0bbd886d553c3cffc5b3eb29256b05856076ee.zip u-boot-imx-7b0bbd886d553c3cffc5b3eb29256b05856076ee.tar.gz u-boot-imx-7b0bbd886d553c3cffc5b3eb29256b05856076ee.tar.bz2 |
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>
Diffstat (limited to 'tools/ifdtool.h')
0 files changed, 0 insertions, 0 deletions