- parserInternals.c xpath.[ch]: some UTF8 cleanup on
xmlXPathParseName
- xpath.c: Igor Zlatkovic suggested a change for NAN and MSC
- debugXML.c: avoid compilation problems if compiling without
HTML support, Igor Zlatkovic
- win32/libxml2/libxml2.def.src: being able to compile without
XPath on Windows
Daniel
diff --git a/debugXML.c b/debugXML.c
index f7b10d5..386be44 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -1723,7 +1723,9 @@
"%s is an XSLT value tree\n", arg);
break;
}
+#ifdef LIBXML_XPATH_ENABLED
xmlXPathFreeNodeSetList(list);
+#endif
} else {
xmlGenericError(xmlGenericErrorContext,
"%s: no such node\n", arg);
@@ -1787,7 +1789,9 @@
"%s is an XSLT value tree\n", arg);
break;
}
+#ifdef LIBXML_XPATH_ENABLED
xmlXPathFreeNodeSetList(list);
+#endif
} else {
xmlGenericError(xmlGenericErrorContext,
"%s: no such node\n", arg);
@@ -1855,7 +1859,9 @@
"%s is an XSLT value tree\n", arg);
break;
}
+#ifdef LIBXML_XPATH_ENABLED
xmlXPathFreeNodeSetList(list);
+#endif
} else {
xmlGenericError(xmlGenericErrorContext,
"%s: no such node\n", arg);