Commit 32cb8bd1 authored by Connor McAdams's avatar Connor McAdams Committed by Alexandre Julliard

uiautomationcore: Don't leak parent node in conditional_navigate_uia_node.

parent 7f119bad
......@@ -972,7 +972,10 @@ static HRESULT conditional_navigate_uia_node(struct uia_node *node, int nav_dir,
hr = uia_condition_check(parent, cond);
if (FAILED(hr))
{
UiaNodeRelease(parent);
break;
}
if (uia_condition_matched(hr))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment