diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2005-01-30 22:36:30 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2005-01-30 22:36:30 +0000 |
commit | f9d169142dd652f5e077e1c2391facaa6bf40f4d (patch) | |
tree | ae84bb1488331c0706fc9a80949cfd58fb5684e8 /xmllint.c | |
parent | 8f2efae484061636a787f3c330f577e070c99eca (diff) | |
download | libxml2-f9d169142dd652f5e077e1c2391facaa6bf40f4d.tar.gz |
added first test for the patterns a few fixes Daniel
* Makefile.am configure.in result/pattern/simple
test/pattern/simple.*: added first test for the patterns
* pattern.c xmllint.c: a few fixes
Daniel
Diffstat (limited to 'xmllint.c')
-rw-r--r-- | xmllint.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -865,8 +865,6 @@ static void processNode(xmlTextReaderPtr reader) { fprintf(stderr, " pattern %s node %s\n", pattern, path); - if (path != NULL) - xmlFree(path); } @@ -879,6 +877,8 @@ static void processNode(xmlTextReaderPtr reader) { } } } + if (path != NULL) + xmlFree(path); } #endif } |