1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-06-15 10:41:43 +03:00

convenience change try to avoid calling libxml2 cleanup function directly

* configure.in: convenience change
* python/libxsl.py python/libxslt-python-api.xml python/libxslt.c:
  try to avoid calling libxml2 cleanup function directly but go
  though the python wrapper of libxml2 for memory debug accounting.
Daniel
This commit is contained in:
Daniel Veillard
2004-07-02 13:53:31 +00:00
parent 916d36f00a
commit a3a4c25d47
6 changed files with 18 additions and 7 deletions

View File

@ -84,6 +84,11 @@ class extensionModule:
"""Callback function when a transformation using it finishes"""
pass
def cleanup():
"""Cleanup all libxslt and libxml2 memory allocated"""
libxsltmod.xsltPythonCleanup()
libxml2.cleanupParser()
#
# Everything below this point is automatically generated
#