mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1243077 - remove an unnecessary AddRef() from xpcAccessible::GetChildren()
r=davidb
This commit is contained in:
parent
30e045d74b
commit
92133430c8
@ -139,7 +139,7 @@ xpcAccessible::GetChildren(nsIArray** aChildren)
|
|||||||
children->AppendElement(static_cast<nsIAccessible*>(ToXPC(child)), false);
|
children->AppendElement(static_cast<nsIAccessible*>(ToXPC(child)), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_ADDREF(*aChildren = children);
|
children.forget(aChildren);
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user