From 02e0c1b0e8e0b798694445bfa84383dd8d44216a Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sun, 15 Jul 2012 03:42:27 +0200 Subject: prevent double delete in calc's html parser, fdo#52107 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0a203a39697d3b12304e4b9dc99714cd7b2a008c (cherry picked from commit 0d21d9ddbe0561f45419ae4fc376c312565b413b) Signed-off-by: Caolán McNamara --- sc/source/filter/html/htmlpars.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx index 6395fb68717a..0566f66c3826 100644 --- a/sc/source/filter/html/htmlpars.cxx +++ b/sc/source/filter/html/htmlpars.cxx @@ -554,6 +554,7 @@ void ScHTMLLayoutParser::Adjust() nCurRow = pS->nCurRow; } delete pS; + pS = NULL; nTab = pE->nTab; if (pTables) { -- cgit v1.2.3