summaryrefslogtreecommitdiff
path: root/testOOM.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2023-04-30 15:35:47 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2023-04-30 15:48:41 +0200
commit886bf4e63bb920a19a747d6cf55090562dd0f348 (patch)
tree28b9e1a0e067394ee06ac4026654aaf579ebc747 /testOOM.c
parentfc119e329069fae2ac7c25bc36ccb8847bac04ad (diff)
downloadlibxml2-886bf4e63bb920a19a747d6cf55090562dd0f348.tar.gz
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.
Diffstat (limited to 'testOOM.c')
-rw-r--r--testOOM.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/testOOM.c b/testOOM.c
index 217e04af..3cb6b2da 100644
--- a/testOOM.c
+++ b/testOOM.c
@@ -352,14 +352,12 @@ int main(int argc, char **argv) {
if (test_get_malloc_blocks_outstanding () > 0) {
fprintf (stdout, "%d blocks leaked\n",
test_get_malloc_blocks_outstanding ());
- xmlMemoryDump();
return 1;
}
files ++;
}
}
- xmlMemoryDump();
return 0;
}