1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00
This commit is contained in:
Aleksey Sanin
2002-05-05 06:59:57 +00:00
parent 4cbe470258
commit 29b6f76c53
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,6 @@
Sat 04 May 2002 11:56:31 PM PDT Aleksey Sanin <aleksey@aleksey.com>
* xpath.c: fixed bug #78858
Sun May 5 08:57:08 CEST 2002 Daniel Veillard <daniel@veillard.com>
* tree.c: modified xmlNodeSetBase to allow changing the

View File

@ -10220,15 +10220,17 @@ xmlXPathRunEval(xmlXPathParserContextPtr ctxt) {
xmlMalloc(10 * sizeof(xmlXPathObjectPtr));
if (ctxt->valueTab == NULL) {
xmlFree(ctxt);
xmlGenericError(xmlGenericErrorContext,
"xmlXPathRunEval: out of memory\n");
return;
}
ctxt->valueNr = 0;
ctxt->valueMax = 10;
ctxt->value = NULL;
}
comp = ctxt->comp;
if(comp->last < 0) {
xmlGenericError(xmlGenericErrorContext,
"xmlXPathRunEval: last is less than zero\n");
return;
}
xmlXPathCompOpEval(ctxt, &comp->steps[comp->last]);
}