Re: [xml] Memory leak / cleanup missing after node creation.

        By the way,

                    newNode = xmlNewText(theTagReplacements[1]);
                    xmlReplaceNode(cur_node, newNode);

It still looks like a list of 'newNode's still has to be created and freed with 'xmlFreeNode' after 'xmlFreeDoc' is called; despite being assigned to the doc, xmlFreeDoc doesn't seem to remove the allocations for those 'newNode' s.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]