summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/fit_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/fit_image.c b/tools/fit_image.c
index 8a93ea3..8d58370 100644
--- a/tools/fit_image.c
+++ b/tools/fit_image.c
@@ -541,6 +541,7 @@ static int fit_import_data(struct image_tool_params *params, const char *fname)
ret = 0;
err:
+ free(fdt);
close(fd);
return ret;
}