- added the patch from Carl Nygard <cnygard@bellatlantic.net>
which allow impressive speed improvement on dataset with large text
pieces, but at the cost of broken binary compatibility and slightly
bigger memory usage. Configure with --with-buffers to activate them,
they are protected with XML_USE_BUFFER_CONTENT define.
- added xmlCleanupPredefinedEntities(), memory allocation cleanup
Daniel
diff --git a/testSAX.c b/testSAX.c
index 8311ffb..ecd9644 100644
--- a/testSAX.c
+++ b/testSAX.c
@@ -41,6 +41,7 @@
#include "parserInternals.h" /* only for xmlNewInputFromFile() */
#include "tree.h"
#include "debugXML.h"
+#include "xmlmemory.h"
static int debug = 0;
static int copy = 0;
@@ -648,6 +649,8 @@
printf("\nFirst test for the parser, with errors\n");
parseAndPrintBuffer(buffer);
}
+ xmlCleanupParser();
+ xmlMemoryDump();
return(0);
}