diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-10 18:32:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-10 18:34:55 +0100 |
commit | ff50e9ac7145e0d1accf980560ef50c272e427dd (patch) | |
tree | 9666e237010f090e526cbb76501bc2fcb7d01ca3 | |
parent | d2ddff7b355fac5ba7ec93f866ea52f462dbc6fe (diff) |
CID#1078790 Resource leak
Change-Id: I1c5af09932a5004c5c76080fd490e53d8927c285
-rw-r--r-- | sw/source/filter/ww8/ww8par5.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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) |