summaryrefslogtreecommitdiff
path: root/python/tests/xpathleak.py
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 /python/tests/xpathleak.py
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 'python/tests/xpathleak.py')
-rwxr-xr-xpython/tests/xpathleak.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/python/tests/xpathleak.py b/python/tests/xpathleak.py
index 438c13f5..6814baeb 100755
--- a/python/tests/xpathleak.py
+++ b/python/tests/xpathleak.py
@@ -51,5 +51,3 @@ if leakedbytes == 0:
print("OK")
else:
print("Memory leak", leakedbytes, "bytes")
- # drop file to .memdump file in cwd, but won't work if not compiled in
- libxml2.dumpMemory()