From ff50e9ac7145e0d1accf980560ef50c272e427dd Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 10 Sep 2013 18:32:15 +0100 Subject: CID#1078790 Resource leak Change-Id: I1c5af09932a5004c5c76080fd490e53d8927c285 --- sw/source/filter/ww8/ww8par5.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sw') diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 0c3a0c9dd720..ff9bf59f52d7 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) -- cgit v1.2.3