Skip to content
Snippets Groups Projects
Commit 8e2ea1e0d633 authored by William M. Brack's avatar William M. Brack
Browse files

Fixed problem with cascaded predicates (more of bug 119946)

* libxslt/pattern.c: Fixed problem with cascaded predicates
  (more of bug 119946)
parent b02e335977b3
No related branches found
No related tags found
No related merge requests found
Thu Oct 23 15:48:39 HKT 2003 William Brack <wbrack@mmm.com.hk>
* libxslt/pattern.c: Fixed problem with cascaded predicates
(more of bug 119946)
Thu Oct 23 15:37:26 HKT 2003 William Brack <wbrack@mmm.com.hk>
* restored earliest portion of ChangeLog (was corrupted)
......
......@@ -656,6 +656,7 @@
xmlXPathFreeObject(newlist);
return(-1);
}
index = 0;
if ((parent == NULL) || (node->doc == NULL))
nocache = 1;
......@@ -666,6 +667,7 @@
BAD_CAST " fake node libxslt")))
nocache = 1;
}
if (nocache == 0) {
if (list != NULL)
xmlXPathFreeObject(list);
......@@ -675,6 +677,8 @@
(void *) list;
XSLT_RUNTIME_EXTRA(ctxt, select->previousExtra) =
(void *) doc;
XSLT_RUNTIME_EXTRA(ctxt, select->indexExtra) =
0;
XSLT_RUNTIME_EXTRA_FREE(ctxt, select->lenExtra) =
(xmlFreeFunc) xmlXPathFreeObject;
} else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment