1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-24 13:33:01 +03:00

Stop calling xmlMemoryDump

This was used to check for memory leaks but could potentially create a
.memdump file. These days, there are better ways to check for memory
leaks.
This commit is contained in:
Nick Wellnhofer
2023-04-30 15:35:47 +02:00
parent fc119e3290
commit 886bf4e63b
68 changed files with 1 additions and 109 deletions

View File

@@ -174,8 +174,8 @@ int main(int argc, char **argv) {
mem = xmlMemUsed();
if ((blocks != 0) || (mem != 0)) {
printf("testapi leaked %d bytes in %d blocks\n", mem, blocks);
ret = 1;
}
xmlMemoryDump();
return (ret != 0);
}