mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-05 19:01:18 +03:00
memory: Remove memory debugging
This is useless compared to sanitizers or valgrind and has a considerable performance impact if enabled accidentally.
This commit is contained in:
@ -185,17 +185,6 @@ libxml_xmlPythonCleanupParser(PyObject *self ATTRIBUTE_UNUSED,
|
||||
return(Py_None);
|
||||
}
|
||||
|
||||
PyObject *
|
||||
libxml_xmlDumpMemory(ATTRIBUTE_UNUSED PyObject * self,
|
||||
ATTRIBUTE_UNUSED PyObject * args)
|
||||
{
|
||||
|
||||
if (libxmlMemoryDebug != 0)
|
||||
xmlMemoryDump();
|
||||
Py_INCREF(Py_None);
|
||||
return (Py_None);
|
||||
}
|
||||
|
||||
/************************************************************************
|
||||
* *
|
||||
* Handling Python FILE I/O at the C level *
|
||||
|
Reference in New Issue
Block a user