mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
typo/bug found by Christian Glahn Daniel
* valid.c: typo/bug found by Christian Glahn Daniel
This commit is contained in:
6
xpath.c
6
xpath.c
@ -10582,13 +10582,13 @@ xmlXPathCompile(const xmlChar *str) {
|
||||
ctxt->comp = NULL;
|
||||
}
|
||||
xmlXPathFreeParserContext(ctxt);
|
||||
comp->expr = xmlStrdup(str);
|
||||
#ifdef DEBUG_EVAL_COUNTS
|
||||
if (comp != NULL) {
|
||||
comp->expr = xmlStrdup(str);
|
||||
#ifdef DEBUG_EVAL_COUNTS
|
||||
comp->string = xmlStrdup(str);
|
||||
comp->nb = 0;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
return(comp);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user