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

Thomas Arnhold thomas at arnhold.org
Thu May 8 11:45:47 PDT 2014


 sd/source/filter/sdpptwrp.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 11fc0c1ee9c8f7aa8bcfc94b9703134c06cd7bff
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Thu May 8 20:37:07 2014 +0200

    Revert "coverity#736452 Resource leak"
    
    Somehow this one lets the windows tinderboxes fail.
    
    This reverts commit f6012f6c5d40857ea7a9490da90ae5541d859563.
    
    Change-Id: I1f3e503bef74956f64bb2f0b9d748fc7fc7299c5

diff --git a/sd/source/filter/sdpptwrp.cxx b/sd/source/filter/sdpptwrp.cxx
index a8bebf0..52c8f7f 100644
--- a/sd/source/filter/sdpptwrp.cxx
+++ b/sd/source/filter/sdpptwrp.cxx
@@ -116,8 +116,6 @@ bool SdPPTFilter::Import()
 
                     if ( !bRet )
                         mrMedium.SetError( SVSTREAM_WRONGVERSION, OSL_LOG_PREFIX );
-
-                    delete pLibrary;
                 }
 #else
                 bRet = ImportPPT( &mrDocument, *pDocStream, *pStorage, mrMedium );


More information about the Libreoffice-commits mailing list