commit | a1c090b480fdd4a231b5765e4a4eda785dfeddb0 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Mar 16 07:45:37 2016 -0600 |
committer | Tom Rini <trini@konsulko.com> | Tue Mar 22 12:16:19 2016 -0400 |
tree | a8c821297ec4c2ae464386f7c562c7a10501caf5 | |
parent | c5b65370f38da0fdaa84cf8e3d35c1e05f7e0140 [diff] |
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>