I wish to deallocate an IXMLDOMDocument and all child nodes from memory. So far I have not succeeded. I tried
pDoc->Release() with no success.
I tried walking the tree recursively calling pNode->Release() with no success. I am using perfmon to check the amount of private bytes owned by my task. Is there some sort of COM way of deallocating this memory or what?
How do I deallocate all of a IXMLDOMDocument's memmory, including all child nodes?