msxml3: Initialize VARIANT before passing it to VariantCopy.

This commit is contained in:
Nikolay Sivov 2011-12-14 14:51:30 +03:00 committed by Alexandre Julliard
parent 0151f4741a
commit 2cd62a5dbd

View file

@ -553,6 +553,7 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc
switch(wFlags) {
case INVOKE_PROPERTYGET:
V_VT(pvarRes) = VT_EMPTY;
return VariantCopy(pvarRes, var);
case INVOKE_PROPERTYPUT:
VariantClear(var);