setup_native/source/win32/wintools/makecab/parseddf.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e7014ca47b9147c925fb99154b55c71c7127e935
Author: Julien Nabet <serval2...@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 <ger...@libreoffice.org>
    Reviewed-by: Norbert Thiebaud <nthieb...@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;
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to