sw/source/filter/ww8/ww8par5.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit ff50e9ac7145e0d1accf980560ef50c272e427dd Author: Caolán McNamara <caol...@redhat.com> Date: Tue Sep 10 18:32:15 2013 +0100 CID#1078790 Resource leak Change-Id: I1c5af09932a5004c5c76080fd490e53d8927c285 diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 0c3a0c9..ff9bf59 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -3437,7 +3437,10 @@ eF_ResT SwWW8ImplReader::Read_F_Tox( WW8FieldDesc* pF, OUString& 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