Re: Problem with release()

2004-02-27 Thread Gareth Reakes
Hey, take a look in the archives for a detailed response from me about why this is (would have been [EMAIL PROTECTED] then). Only some things are recycled (like DOMElements). If the DOMElement news something that is not an object that is recycled (eg like the new of the attibute list in the

Problem with release()

2004-02-27 Thread Luca . Tricerri
This code gives me a memory leck: XMLCh *tmpCh=transcode("OK"); DOMNode* m_idRoot; while(1) { m_idRoot= m_idDocument->createElement(tmpCh); //**Not correctly released m_idRoot->release(); Sleep(10); } Why? Is it a bu