1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +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:
Nick Wellnhofer
2024-04-28 18:33:40 +02:00
parent 5e80f4381b
commit 1cdfece12b
19 changed files with 142 additions and 716 deletions

View File

@@ -685,11 +685,7 @@ xmlHasFeature(xmlFeature feature)
return(0);
#endif
case XML_WITH_DEBUG_MEM:
#ifdef DEBUG_MEMORY_LOCATION
return(1);
#else
return(0);
#endif
case XML_WITH_ZLIB:
#ifdef LIBXML_ZLIB_ENABLED
return(1);