summaryrefslogtreecommitdiff
path: root/xmllint.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-07-04 14:25:34 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-07-04 14:25:34 +0000
commitc935253fb7e328ac47c899e7e55ce9908054aeaa (patch)
treee581878d91eb2d73951d78f7db4a17691467f7a7 /xmllint.c
parent3fa5e7e44c30093aee705ea4bcd48fc803f5bb7a (diff)
downloadlibxml2-c935253fb7e328ac47c899e7e55ce9908054aeaa.tar.gz
cleanups, logfile and portability fixed a memory leak Daniel
* runsuite.c runtest.c: cleanups, logfile and portability * xmllint.c: fixed a memory leak Daniel
Diffstat (limited to 'xmllint.c')
-rw-r--r--xmllint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmllint.c b/xmllint.c
index ab088809..dbed44f8 100644
--- a/xmllint.c
+++ b/xmllint.c
@@ -2342,7 +2342,7 @@ main(int argc, char **argv) {
#endif /* LIBXML_SCHEMAS_ENABLED */
#ifdef LIBXML_PATTERN_ENABLED
if ((pattern != NULL)
-#ifdef LIBXML_WALKER_ENABLED
+#ifdef LIBXML_READER_ENABLED
&& (walker == 0)
#endif
) {