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:
@ -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>
|
||||
|
||||
* example/Makefile.am: fixed the include path to add srcdir/include
|
||||
|
3
xpath.c
3
xpath.c
@ -1951,7 +1951,8 @@ xmlXPathVariableLookupNS(xmlXPathContextPtr ctxt, const xmlChar *name,
|
||||
if (name == NULL)
|
||||
return(NULL);
|
||||
|
||||
return((xmlXPathObjectPtr) xmlHashLookup2(ctxt->varHash, name, ns_uri));
|
||||
return(xmlXPathObjectCopy((xmlXPathObjectPtr)
|
||||
xmlHashLookup2(ctxt->varHash, name, ns_uri)));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user