views:

85

answers:

0

Hi,

I started to use rappidXML a short time ago and I just noticed that when I reassign a node Pointer mallocDebug (I am using xCode on a mac) complains. This is what I do:

    xml_node<>* rootNode = doc.first_node("Root");
    //find shaders
    xml_node<>* curNode = rootNode->first_node("Node1");
            .... do something
   curNode = rootNode->first_node("Node2"); //this is what it complains about
   ....do something else

MallocDebug tells me this each time I reassign the pointer: libMallocDebug: frame pointer goes from bffef2e8 to bffff378 -- assuming invalid. Do I have to avoid reassigning the pointer? or can I ignore that warning?