[Libreoffice-commits] core.git: lotuswordpro/qa lotuswordpro/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jan 28 20:36:55 UTC 2020
lotuswordpro/source/filter/lwppara.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit ae01adf0747496e8c36f8f30fc2c1a4a6ef8275e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jan 28 13:37:30 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jan 28 21:36:19 2020 +0100
ofz#20267 Indirect-leak
Change-Id: I32e4d12e83573eaaaf3a393d8a2d5ba10ccb93ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87631
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/lotuswordpro/qa/cppunit/data/fail/null-2.lwp b/lotuswordpro/qa/cppunit/data/pass/null-2.lwp
similarity index 100%
rename from lotuswordpro/qa/cppunit/data/fail/null-2.lwp
rename to lotuswordpro/qa/cppunit/data/pass/null-2.lwp
diff --git a/lotuswordpro/source/filter/lwppara.cxx b/lotuswordpro/source/filter/lwppara.cxx
index 5b92281b0560..b7069aad9c69 100644
--- a/lotuswordpro/source/filter/lwppara.cxx
+++ b/lotuswordpro/source/filter/lwppara.cxx
@@ -119,6 +119,11 @@ LwpPara::LwpPara(LwpObjectHeader const & objHdr, LwpSvStream* pStrm)
LwpPara::~LwpPara()
{
+ if (m_xXFContainer)
+ {
+ m_xXFContainer->Reset();
+ m_xXFContainer.clear();
+ }
}
void LwpPara::Read()
More information about the Libreoffice-commits
mailing list