diff --git a/tools/mkfimg.c b/tools/mkfimg.c index 33efde54..07eb6b5d 100644 --- a/tools/mkfimg.c +++ b/tools/mkfimg.c @@ -141,6 +141,8 @@ if (foo) { exit(1); } +fimg_destroy(&fimg); + return 0; } /* --------------------------------------------------------------------- */