summaryrefslogtreecommitdiff
path: root/testXPath.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-04-05 16:54:14 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-04-05 16:54:14 +0000
commitd8df6c0e8c883e1d618388d266015dda36731440 (patch)
treec7182645fc3427baf7a6fe761a23b3fac5ee2724 /testXPath.c
parent3197f164a8e8969dd47334f244a8d23c825e7b19 (diff)
downloadlibxml2-d8df6c0e8c883e1d618388d266015dda36731440.tar.gz
Fixes in the plane: - xpath.c: fixed a [] evaluation problem reported -
Fixes in the plane: - xpath.c: fixed a [] evaluation problem reported - test/XPath/tests/simpleaddr: extended test - result/XPath/simpleaddr: updated result Daniel
Diffstat (limited to 'testXPath.c')
-rw-r--r--testXPath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testXPath.c b/testXPath.c
index 424380b0..fde0adc4 100644
--- a/testXPath.c
+++ b/testXPath.c
@@ -113,6 +113,7 @@ testXPath(const char *str) {
xmlXPathDebugDumpCompExpr(stdout, comp, 0);
res = xmlXPathCompiledEval(comp, ctxt);
+ xmlXPathFreeCompExpr(comp);
} else
res = NULL;
}