[U-Boot] [U-Boot, 07/14] mkimage: Close the file when unable to get its size

Tom Rini trini at konsulko.com
Wed Mar 23 02:59:48 CET 2016


On Wed, Mar 16, 2016 at 07:45:37AM -0600, Simon Glass wrote:

> There is a missing close() on the error path. Add it.
> 
> Reported-by: Coverity (CID: 138496)
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160322/0e66ffe2/attachment.sig>


More information about the U-Boot mailing list