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

Noel Grandin noel.grandin at collabora.co.uk
Fri Mar 16 15:49:04 UTC 2018


 sdext/source/pdfimport/tree/drawtreevisiting.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit b0967c69d3e08efbc8e3dec807601ac52870792a
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Fri Mar 16 13:16:23 2018 +0200

    fix crash on pdf import of tdf59883-2
    
    after
        commit a9ef943769b06e6bdffe7326f288b27e08a95698
        Date:   Wed Feb 28 11:09:43 2018 +0200
        loplugin:useuniqueptr in sdext
    
    Change-Id: I3f54002764ee42162279bade49a3e3b21e136917
    Reviewed-on: https://gerrit.libreoffice.org/51402
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sdext/source/pdfimport/tree/drawtreevisiting.cxx b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
index 81c2a945366e..d1cbab6fb215 100644
--- a/sdext/source/pdfimport/tree/drawtreevisiting.cxx
+++ b/sdext/source/pdfimport/tree/drawtreevisiting.cxx
@@ -458,7 +458,6 @@ void DrawXmlOptimizer::visit( PolyPolyElement& elem, const std::list< std::uniqu
 #else
         elem.Parent->Children.erase(next_it);
 #endif
-        delete pNext;
     }
 }
 


More information about the Libreoffice-commits mailing list