[Libreoffice-commits] core.git: sd/source

Caolán McNamara caolanm at redhat.com
Wed Mar 15 10:43:47 UTC 2017


 sd/source/filter/ppt/pptin.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3934f704a1984c95333d2760ca5d1331dce1a045
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Mar 15 10:40:52 2017 +0000

    pesky hidden leak causing pptfuzzing oom
    
    Change-Id: I08af0f9e62ffaa6d8e0021d4e95c4e945030403a

diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 53fa340..2cf2a13 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -2783,6 +2783,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportPPT(const OUString &rURL
 
     bool bRet = ImportPPT(pDoc, *xDocStream, *xStorage, aSrcMed);
 
+    xDocShRef->DoClose();
+
     return bRet;
 }
 


More information about the Libreoffice-commits mailing list