mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-01 18:58:29 +00:00
uiautomationcore: NULL initialize SAFEARRAY variable passed to IRawElementProviderFragment::GetRuntimeId().
Fixes a crash in Battle.net setup where success is returned but the variable is not set. Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
This commit is contained in:
parent
7eeddc3bea
commit
81057913cd
|
@ -1542,7 +1542,7 @@ static HRESULT uia_provider_get_special_prop_val(struct uia_provider *prov,
|
||||||
case UIA_RuntimeIdPropertyId:
|
case UIA_RuntimeIdPropertyId:
|
||||||
{
|
{
|
||||||
IRawElementProviderFragment *elfrag;
|
IRawElementProviderFragment *elfrag;
|
||||||
SAFEARRAY *sa;
|
SAFEARRAY *sa = NULL;
|
||||||
LONG lbound;
|
LONG lbound;
|
||||||
int val;
|
int val;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue