commit | 8c357d58c2d1dde022b67393a47dcb52100ce129 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Tue Jul 03 23:43:33 2001 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Tue Jul 03 23:43:33 2001 +0000 |
tree | 8873e3c61153bc019c00b6106176812f264bb75f | |
parent | 6e90d19693bd16634f8b1e9deac65711f9d8b21e [diff] [blame] |
- xpath.c: fixed a missing copy in xmlXPathVariableLookupNS() raised by Mark Vakoc. Daniel
diff --git a/xpath.c b/xpath.c index b795aff..39e0583 100644 --- a/xpath.c +++ b/xpath.c
@@ -1951,7 +1951,8 @@ if (name == NULL) return(NULL); - return((xmlXPathObjectPtr) xmlHashLookup2(ctxt->varHash, name, ns_uri)); + return(xmlXPathObjectCopy((xmlXPathObjectPtr) + xmlHashLookup2(ctxt->varHash, name, ns_uri))); } /**