]> git.sur5r.net Git - u-boot/commit
mkimage: Fix error path in fit_extract_data()
authorSimon Glass <sjg@chromium.org>
Wed, 16 Mar 2016 13:45:39 +0000 (07:45 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 22 Mar 2016 16:16:20 +0000 (12:16 -0400)
commitb97d71e26a0c348d49e83eca9548d8cfe2da07ec
tree609931b1be076a13008e95055ab283528e98603d
parent6e0ffce6cb50beb2fdf2cb0112cb359a7dede723
mkimage: Fix error path in fit_extract_data()

The 'fdt' variable is not unmapped in all error cases. Fix this.

Reported-by: Coverity (CID: 138493)
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
tools/fit_image.c