Apache OpenOffice (AOO) Bugzilla – Issue 120098
[From Symphony] There is a memory leak in function WW8Export::WriteFkpPlcUsw
Last modified: 2013-02-16 09:12:06 UTC
Steps to reproduce the defect: 1)Launch Aoo3.4 2) New a odt file, insert a picture 3) Save it as a MS word 2000 file 4) Close the doc file Defect : There is a memory leak in function WW8Export::WriteFkpPlcUsw
An unnamed object typed SotStorage will be created on heap when calling function SotStorage::OpenSotStorage. There is no place to release it. So it is a memory leak. The solution is to add a reference as a member data to record the unnamed object. The reference will be release in destructor in class WW8Export.
Created attachment 78486 [details] for file "main/sw/source/filter/ww8/wrtww8.cxx" and "main/sw/source/filter/ww8/wrtww8.hxx"
ALG: Added to codebase, built and checked. Destructor gets called as expected. Adding to trunk. Added as r1354032, thanks for the patch!
Suggest to put it into AOO 3.5.0 release
Since last SVT(r1400866) shows there is no memory leak, so close this defect as resolved.