mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-28 00:21:53 +03:00
Bug fixes, improvement on ID/IDREF support, 1.6.2, no memleaks, Daniel
This commit is contained in:
@ -125,7 +125,7 @@ void testXPath(const char *str) {
|
||||
xmlXPathObjectPtr res;
|
||||
xmlXPathContextPtr ctxt;
|
||||
|
||||
ctxt = xmlXPathNewContext(document, NULL, NULL);
|
||||
ctxt = xmlXPathNewContext(document);
|
||||
if (expr)
|
||||
res = xmlXPathEvalExpression(BAD_CAST str, ctxt);
|
||||
else
|
||||
|
Reference in New Issue
Block a user