summaryrefslogtreecommitdiff
path: root/tools/img2srec.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-03-16 07:45:37 -0600
committerTom Rini <trini@konsulko.com>2016-03-22 12:16:19 -0400
commitb12a81c4ccfdfac1eabefdaeba2a19fab3102716 (patch)
treea8c821297ec4c2ae464386f7c562c7a10501caf5 /tools/img2srec.c
parent4708a07c7cfa754658d06283a399ddb175278de7 (diff)
downloadu-boot-imx-b12a81c4ccfdfac1eabefdaeba2a19fab3102716.zip
u-boot-imx-b12a81c4ccfdfac1eabefdaeba2a19fab3102716.tar.gz
u-boot-imx-b12a81c4ccfdfac1eabefdaeba2a19fab3102716.tar.bz2
mkimage: Close the file when unable to get its size
There is a missing close() on the error path. Add it. Reported-by: Coverity (CID: 138496) Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'tools/img2srec.c')
0 files changed, 0 insertions, 0 deletions