commit | 82b73039dc0eed620621cb699b1140c6e0c89cce | [log] [tgz] |
---|---|---|
author | Nick Wellnhofer <wellnhofer@aevum.de> | Sat Apr 30 17:53:10 2016 +0200 |
committer | Nick Wellnhofer <wellnhofer@aevum.de> | Thu May 05 15:30:00 2016 +0200 |
tree | a5c5ba9cef078ca36cb526bd3e4ae9e8cd908224 | |
parent | 9b4b8cb3e2ff102376f27e3658fad931a31e952a [diff] |
Fix namespace axis traversal When the namespace axis is traversed in "toBool" mode, the traversal can exit early, before visiting all nodes. In this case, the XPath context still contains a non-NULL tmpNsList. This means that - the check when to start a new traversal was wrong and - the tmpNsList could be leaked. Fixes bug #750037 and, by accident, bug #756075: https://bugzilla.gnome.org/show_bug.cgi?id=750037 https://bugzilla.gnome.org/show_bug.cgi?id=756075