BlitzXML memory leak?
Blitz3D Forums/Blitz3D Programming/BlitzXML memory leak?
| ||
Is there a memory leak on BlitzXML code? Code is here: http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=1393 I noticed that it takes longer and longer to load files and I'm not sure if it's all the entity management/creation I have going on or if it's the XML load. Try my example: |
| ||
Apparently it's not completely removing all the nodes with the function xmlNodeDelete(Node, ChildIndex = 0) A quick and dirty way to do it: Instead of calling the previous function, call this one to delete and free all the banks and nodes. |