summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-11 16:26:23 +0000
committerMichael Stahl <mstahl@redhat.com>2015-01-13 11:55:25 +0000
commit814e27ea3cae1277319559003380b7068ac82861 (patch)
tree985f542897b918d70495147e9cec13f8e151ea8d /xmloff
parentc2d8b640793f665b15b42cda4ad2dcb9d843216d (diff)
LeakSanitizer: leak detected in ooo56669-1.odt
Change-Id: Ifdd98068762762316dbfd50fb465ed3c970f53d9 (cherry picked from commit 5e6a4591d31619f9bf32a9891c59a6dcc3af80b5) Reviewed-on: https://gerrit.libreoffice.org/13862 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'xmloff')
-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 d688e8fe837b..3eaab08e3da4 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);