summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup_native/source/win32/wintools/makecab/parseddf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup_native/source/win32/wintools/makecab/parseddf.c b/setup_native/source/win32/wintools/makecab/parseddf.c
index cbd9914e51de..cf081e3643ca 100644
--- a/setup_native/source/win32/wintools/makecab/parseddf.c
+++ b/setup_native/source/win32/wintools/makecab/parseddf.c
@@ -378,6 +378,8 @@ DDFERR ParseDdf(char* ddfFile, PCCAB ccab, DDFSRCFILE ** srcListH, unsigned int
ccab->cbFolderThresh = ccab->cb;
ccab->iDisk = 0;
+ fclose(ddf);
+
return DDF_OK;
}