1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-03 00:42:24 +03:00

enable libxml2 memory debug before loading libxslt since libxslt

* python/tests/*.py: enable libxml2 memory debug before
  loading libxslt since libxslt initialization now includes
  EXSLT registration which initialize the libxml2 library and
  allocate memory
Daniel
This commit is contained in:
Daniel Veillard
2002-11-24 14:51:51 +00:00
parent 0e453d81ed
commit 0a04c030c7
5 changed files with 19 additions and 16 deletions

View File

@ -1,10 +1,10 @@
#!/usr/bin/python -u
import sys
import libxml2
import libxslt
# Memory debug specific
libxml2.debugMemory(1)
import libxslt
styledoc = libxml2.parseFile("test.xsl")