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:37:39 +0100
commit5a86dee80fed8470213186294169582b89cf497f (patch)
treebff83d6e9e046513c722321ce3bf6e0882ba2807
parent768cb747ee11a85d2f209f46fad95c4d6ce76537 (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 323e1a2034b7..d9363e463260 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;
pTab = (pTables ? (Table*) pTables->Get( nTab ) : NULL);