mshtml: Initialize VARIANT before passing it to variant_copy.

This commit is contained in:
Jacek Caban 2011-12-12 14:49:33 +01:00 committed by Alexandre Julliard
parent 64ef20ce53
commit 30467685ba
1 changed files with 1 additions and 0 deletions

View File

@ -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: