summaryrefslogtreecommitdiff
path: root/xmloff/source/core
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-11 16:26:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-11 20:35:03 +0000
commit5e6a4591d31619f9bf32a9891c59a6dcc3af80b5 (patch)
tree4b7f5d6080da4e47db525d4127508cc80d2f8bc9 /xmloff/source/core
parent623b38fa5769f8cdec10b54b2a600bc4c4e077e6 (diff)
LeakSanitizer: leak detected in ooo56669-1.odt
Change-Id: Ifdd98068762762316dbfd50fb465ed3c970f53d9
Diffstat (limited to 'xmloff/source/core')
-rw-r--r--xmloff/source/core/xmlimp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index 86e6b86bf1b6..a30ad8f466d7 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -443,6 +443,7 @@ SvXMLImport::~SvXMLImport() throw ()
delete mpNamespaceMap;
delete mpUnitConv;
delete mpEventImportHelper;
+ delete mpFastContexts;
if( mpContexts )
{
while( !mpContexts->empty() )
@@ -463,8 +464,7 @@ SvXMLImport::~SvXMLImport() throw ()
delete mpNumImport;
delete mpProgressBarHelper;
- if( mpImpl )
- delete mpImpl;
+ delete mpImpl;
if (mxEventListener.is() && mxModel.is())
mxModel->removeEventListener(mxEventListener);