mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-01 13:41:39 +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:
@ -840,8 +840,8 @@ libxslt_xsltRegisterExtensionClass(PyObject *self ATTRIBUTE_UNUSED,
|
||||
************************************************************************/
|
||||
|
||||
PyObject *
|
||||
libxslt_xsltCleanup(PyObject *self ATTRIBUTE_UNUSED,
|
||||
PyObject *args ATTRIBUTE_UNUSED) {
|
||||
libxslt_xsltPythonCleanup(PyObject *self ATTRIBUTE_UNUSED,
|
||||
PyObject *args ATTRIBUTE_UNUSED) {
|
||||
|
||||
if (libxslt_extModuleFunctions != NULL) {
|
||||
xmlHashFree(libxslt_extModuleFunctions, deallocateCallback);
|
||||
@ -856,7 +856,6 @@ libxslt_xsltCleanup(PyObject *self ATTRIBUTE_UNUSED,
|
||||
xmlHashFree(libxslt_extModuleClasses, deallocateClasse);
|
||||
}
|
||||
xsltCleanupGlobals();
|
||||
xmlCleanupParser();
|
||||
Py_INCREF(Py_None);
|
||||
return(Py_None);
|
||||
}
|
||||
|
Reference in New Issue
Block a user