]> git.sur5r.net Git - u-boot/commit
mkimage: Fix munmap() call when importing data
authorSimon Glass <sjg@chromium.org>
Wed, 16 Mar 2016 13:45:31 +0000 (07:45 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 22 Mar 2016 16:16:17 +0000 (12:16 -0400)
commit9cff2d1e39bca4e456a61a3395611cafe2f8969e
treede25c2ec6e7ee2a9515618ecd0377671a18d4b6c
parenta6f70a3d1456e6ce97e0f00ac2d5ff8ae22027d6
mkimage: Fix munmap() call when importing data

The munmap() call unmaps the wrong memory buffer. Fix it.

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