mkimage: Add a missing free() to fit_import_data()
authorSimon Glass <sjg@chromium.org>
Wed, 16 Mar 2016 13:45:38 +0000 (07:45 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 22 Mar 2016 16:16:20 +0000 (12:16 -0400)
commit6e0ffce6cb50beb2fdf2cb0112cb359a7dede723
tree3022f99df4cfc5d45b9a340c6aaef99bfa6915fe
parentb12a81c4ccfdfac1eabefdaeba2a19fab3102716
mkimage: Add a missing free() to fit_import_data()

The space allocated to fdt is not freed on error. Fix it.

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