diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2023-04-30 15:35:47 +0200 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2023-04-30 15:48:41 +0200 |
commit | 886bf4e63bb920a19a747d6cf55090562dd0f348 (patch) | |
tree | 28b9e1a0e067394ee06ac4026654aaf579ebc747 /testOOM.c | |
parent | fc119e329069fae2ac7c25bc36ccb8847bac04ad (diff) | |
download | libxml2-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; } |