summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-07-15 03:42:27 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-07-15 03:44:02 +0200
commit0d21d9ddbe0561f45419ae4fc376c312565b413b (patch)
treea3abcc9aba9bf8d8c990be8617b07bdf9e00bdb1
parent42cb26ba2b69cc4b10c28f07da4ee3f1e63c6af3 (diff)
prevent double delete in calc's html parser, fdo#52107
Change-Id: I0a203a39697d3b12304e4b9dc99714cd7b2a008c
-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 7bdd8d2c0654..d91386559ba3 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)
{