mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 485217 - Pop the eval context before returning. r+sr=peterv
This commit is contained in:
parent
43a2d64fae
commit
ffa24f05a8
@ -395,9 +395,9 @@ nsresult txXSLKey::testNode(const txXPathNode& aNode,
|
||||
nsRefPtr<txAExprResult> exprResult;
|
||||
rv = mKeys[currKey].useExpr->evaluate(&evalContext,
|
||||
getter_AddRefs(exprResult));
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
aEs.popEvalContext();
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
if (exprResult->getResultType() == txAExprResult::NODESET) {
|
||||
txNodeSet* res = static_cast<txNodeSet*>
|
||||
|
Loading…
Reference in New Issue
Block a user