Apache OpenOffice (AOO) Bugzilla – Issue 113601
unoxml: When loading an ODF docment, UNO DOM::CDocument object, all UNO DOM::CNode and libxml DOM objects are leaked
Last modified: 2010-08-04 17:06:34 UTC
Each time loading an ODF document, it created an UNO XML DOM tree and a corresponding libxml DOM tree. The root node of UNO XML DOM tree is CDocument node. In DOM::CDocument::~CDocument(), all uno dom nodes and libxml dom nodes will be released. The problem is the created CDocument object is never released, because there are cyclic reference between CDocument and all it's CNode objects. CDocument.m_aNodeRefList keeps reference to all CNodes it creates while each CNode.m_rDocument keep reference back to CDocument object. The problem can be observed if you simply open/close any ODF documents.
Raise priority to P2
thanks, somebody else already reported this. i hope i'll have time to look at the patch at the other issue soon. *** This issue has been marked as a duplicate of 112783 ***
close duplicate