mshtml: Initialize VARIANT before passing it to variant_copy.
This commit is contained in:
parent
64ef20ce53
commit
30467685ba
|
@ -979,6 +979,7 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc
|
|||
case DISPATCH_PROPERTYGET:
|
||||
if(prop->flags & DYNPROP_DELETED)
|
||||
return DISP_E_UNKNOWNNAME;
|
||||
V_VT(pvarRes) = VT_EMPTY;
|
||||
return variant_copy(pvarRes, &prop->var);
|
||||
case DISPATCH_PROPERTYPUT|DISPATCH_PROPERTYPUTREF:
|
||||
case DISPATCH_PROPERTYPUT:
|
||||
|
|
Loading…
Reference in New Issue