[Libreoffice-commits] core.git: setup_native/source
Julien Nabet
serval2412 at yahoo.fr
Sat Feb 9 14:44:05 PST 2013
setup_native/source/win32/wintools/makecab/parseddf.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit e7014ca47b9147c925fb99154b55c71c7127e935
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Fri Feb 8 22:53:18 2013 +0100
Fix Resource leak: ddf
Change-Id: I4361b4f4670a0437c8220d2e7f92f2ffbe0cc479
Reviewed-on: https://gerrit.libreoffice.org/2057
Tested-by: LibreOffice gerrit bot <gerrit at libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
diff --git a/setup_native/source/win32/wintools/makecab/parseddf.c b/setup_native/source/win32/wintools/makecab/parseddf.c
index cbd9914..cf081e3 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;
}
More information about the Libreoffice-commits
mailing list