Commit 2cd62a5d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3: Initialize VARIANT before passing it to VariantCopy.

parent 0151f474
...@@ -553,6 +553,7 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc ...@@ -553,6 +553,7 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc
switch(wFlags) { switch(wFlags) {
case INVOKE_PROPERTYGET: case INVOKE_PROPERTYGET:
V_VT(pvarRes) = VT_EMPTY;
return VariantCopy(pvarRes, var); return VariantCopy(pvarRes, var);
case INVOKE_PROPERTYPUT: case INVOKE_PROPERTYPUT:
VariantClear(var); VariantClear(var);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment