summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-07-15 03:42:27 +0200
committerCaolán McNamara <caolanm@redhat.com>2012-07-15 08:33:39 +0100
commit02e0c1b0e8e0b798694445bfa84383dd8d44216a (patch)
treedc76e4bf9129a1ddfee6413e9539b685139f3871
parent20be5a629e59b83bd1817db523d391296041e490 (diff)
prevent double delete in calc's html parser, fdo#52107
Change-Id: I0a203a39697d3b12304e4b9dc99714cd7b2a008c (cherry picked from commit 0d21d9ddbe0561f45419ae4fc376c312565b413b) Signed-off-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/source/filter/html/htmlpars.cxx1
1 files changed, 1 insertions, 0 deletions
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)
{