memory leak in IXMLDOMDocument
-
Hi All, when i call loadXML there is some memory leak. please give me a solution to avoid memory leak.
-
Hi All, when i call loadXML there is some memory leak. please give me a solution to avoid memory leak.
voorugonda prashanth wrote:
please give me a solution to avoid memory leak.
delete your pointers, or use smart pointers
[VisualCalc][Flags Beginner's Guide] | [Forums Guidelines][My Best Advice]
-
Hi All, when i call loadXML there is some memory leak. please give me a solution to avoid memory leak.
voorugonda prashanth wrote:
when i call loadXML there is some memory leak
How you are verifying this ? Can you show code ?
voorugonda prashanth wrote:
please give me a solution to avoid memory leak.
Release memory allocated. As already suggested use smart pointers. Delete memory allocated using
new
.Prasad Notifier using ATL | Operator new[],delete[][^]