aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/dgfirmware.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/firmware-utils/src/dgfirmware.c')
-rw-r--r--tools/firmware-utils/src/dgfirmware.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/firmware-utils/src/dgfirmware.c b/tools/firmware-utils/src/dgfirmware.c
index e3257f1077..3ec4712ec9 100644
--- a/tools/firmware-utils/src/dgfirmware.c
+++ b/tools/firmware-utils/src/dgfirmware.c
@@ -86,6 +86,8 @@ void write_img(unsigned char* img, const char *fname)
fclose(fp);
exit(-1);
}
+
+ fclose(fp);
}
@@ -104,6 +106,8 @@ void write_rootfs(unsigned char* img, const char *fname)
fclose(fp);
exit(-1);
}
+
+ fclose(fp);
}
@@ -122,6 +126,8 @@ void write_kernel(unsigned char* img, const char *fname)
fclose(fp);
exit(-1);
}
+
+ fclose(fp);
}