def pythonCleanup(): """Cleanup just libxslt (not libxml2) memory allocated""" libxsltmod.xsltPythonCleanup()
def cleanup(): """Cleanup all libxslt and libxml2 memory allocated""" libxsltmod.xsltPythonCleanup() libxml2.cleanupParser()