1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

Well the bugs I was chasing on XSLT were ... in libxml ... grrrr:

- xpath.c: ouch don't free NULL, rare case fixed
- tree.c: don't coalesce text nodes if they don't have the
  same behaviour wrt escaping on output
Daniel
This commit is contained in:
Daniel Veillard
2001-02-12 17:36:05 +00:00
parent d12b69ddf5
commit 5dd2f0a6cd
3 changed files with 16 additions and 3 deletions

View File

@ -1918,7 +1918,8 @@ xmlXPathEqualNodeSetString(xmlXPathObjectPtr arg, const xmlChar *str) {
xmlFree(str2);
return(1);
}
xmlFree(str2);
if (str2 != NULL)
xmlFree(str2);
}
return(0);
}