XML:free()

Release all memory allocated to the parsed XML document.

Example
doc = XML.parse(str)
doc:free()