diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-07-06 17:57:42 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-07-06 17:57:42 +0000 |
commit | 7a985a18c2fee0aa9b490792dd990b75506e3740 (patch) | |
tree | 9e5e5e4f8ac3dc25855d13417d1196aa40d2630d /xpath.c | |
parent | ffe4f5ec164ee30b0955584ef204a5ff0c413a8a (diff) | |
download | android_external_libxml2-7a985a18c2fee0aa9b490792dd990b75506e3740.tar.gz android_external_libxml2-7a985a18c2fee0aa9b490792dd990b75506e3740.tar.bz2 android_external_libxml2-7a985a18c2fee0aa9b490792dd990b75506e3740.zip |
fixed 2 bugs pointed in #116448 Daniel
* debugXML.c xpath.c: fixed 2 bugs pointed in #116448
Daniel
Diffstat (limited to 'xpath.c')
-rw-r--r-- | xpath.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5942,6 +5942,8 @@ xmlXPathGetElementsByIds (xmlDocPtr doc, const xmlChar *ids) { xmlAttrPtr attr; xmlNodePtr elem = NULL; + if (ids == NULL) return(NULL); + ret = xmlXPathNodeSetCreate(NULL); while (IS_BLANK(*cur)) cur++; |