sw/source/filter/ww8/ww8par5.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 2dd52daadca87bd7dc69af780a4b4b6705a7b34e Author: Pedro Giffuni <p...@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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits