1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-30 22:43:14 +03:00

- xpath.c: fixed a missing copy in xmlXPathVariableLookupNS()

raised by Mark Vakoc.
Daniel
This commit is contained in:
Daniel Veillard
2001-07-03 23:43:33 +00:00
parent 6e90d19693
commit 8c357d58c2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Wed Jul 4 01:42:01 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* xpath.c: fixed a missing copy in xmlXPathVariableLookupNS()
raised by Mark Vakoc.
Tue Jul 3 18:35:48 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr> Tue Jul 3 18:35:48 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* example/Makefile.am: fixed the include path to add srcdir/include * example/Makefile.am: fixed the include path to add srcdir/include

View File

@ -1951,7 +1951,8 @@ xmlXPathVariableLookupNS(xmlXPathContextPtr ctxt, const xmlChar *name,
if (name == NULL) if (name == NULL)
return(NULL); return(NULL);
return((xmlXPathObjectPtr) xmlHashLookup2(ctxt->varHash, name, ns_uri)); return(xmlXPathObjectCopy((xmlXPathObjectPtr)
xmlHashLookup2(ctxt->varHash, name, ns_uri)));
} }
/** /**