summaryrefslogtreecommitdiff
path: root/debugXML.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-04-27 17:13:01 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-04-27 17:13:01 +0000
commit61d80a2822b2678dee885ac2850295cc96277c63 (patch)
treec20e57b44e7fc01cb3260a4b4055854ea58a2bba /debugXML.c
parentdbb14a72f092e70213ae7aadbc04abacccd35aa7 (diff)
downloadlibxml2-61d80a2822b2678dee885ac2850295cc96277c63.tar.gz
- 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
Diffstat (limited to 'debugXML.c')
-rw-r--r--debugXML.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/debugXML.c b/debugXML.c
index f7b10d5a..386be444 100644
--- a/debugXML.c
+++ b/debugXML.c
@@ -1723,7 +1723,9 @@ xmlShell(xmlDocPtr doc, char *filename, xmlShellReadlineFunc input,
"%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 @@ xmlShell(xmlDocPtr doc, char *filename, xmlShellReadlineFunc input,
"%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 @@ xmlShell(xmlDocPtr doc, char *filename, xmlShellReadlineFunc input,
"%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);