fit_image: Fix a double close() on the error path
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 23:12:24 +0000 (17:12 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 2 May 2016 22:37:10 +0000 (18:37 -0400)
commit4c1dc1a90fb60c2e5f28351b6ff2ae187dc587ef
tree757edea6cca52f446308089eefc98d299d9fb7e6
parent925c97c248527391de32c2926f7e1911850fd4b0
fit_image: Fix a double close() on the error path

There is an extra close() call which is not needed.

Reported-by: Coverity (CID: 143065)
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/fit_image.c