diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-02-08 22:53:18 +0100 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-02-09 22:43:46 +0000 |
commit | e7014ca47b9147c925fb99154b55c71c7127e935 (patch) | |
tree | 5ef511e85e0be9ac5ab2d79f8e82c59c6183556a /setup_native | |
parent | fix compile for change to boost 1.53.0 declaring smart pointer operator bool ... (diff) | |
download | core-e7014ca47b9147c925fb99154b55c71c7127e935.tar.gz core-e7014ca47b9147c925fb99154b55c71c7127e935.zip |
Fix Resource leak: ddf
Change-Id: I4361b4f4670a0437c8220d2e7f92f2ffbe0cc479
Reviewed-on: https://gerrit.libreoffice.org/2057
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/source/win32/wintools/makecab/parseddf.c | 2 |
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; } |