[Libreoffice-commits] core.git: Branch 'aoo/trunk' - sw/source
Pedro Giffuni
pfg at apache.org
Fri Dec 25 16:08:02 PST 2015
sw/source/filter/ww8/ww8par5.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 2dd52daadca87bd7dc69af780a4b4b6705a7b34e
Author: Pedro Giffuni <pfg at apache.org>
Date: Fri Dec 25 23:01:57 2015 +0000
Resource leak
CID: 705753
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx
index 2afa4f1..f93db89 100644
--- a/sw/source/filter/ww8/ww8par5.cxx
+++ b/sw/source/filter/ww8/ww8par5.cxx
@@ -3393,8 +3393,10 @@ eF_ResT SwWW8ImplReader::Read_F_Tox( WW8FieldDesc* pF, String& rStr )
}
}
if ( pForm )
+ {
pBase->SetTOXForm( *pForm );
- // <--
+ delete pForm;
+ }
}
if (eCreateFrom)
More information about the Libreoffice-commits
mailing list