>From 42f5661e946806d74a93822f0c8390ffdf24e778 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov@codeweavers.com>
Date: Wed, 14 Dec 2011 14:51:30 +0300
Subject: [PATCH 3/3] Initialize VARIANT before passing it to VariantCopy
 (based on commit 30467685bada5ebdad6d43c48d64643dfb85c0be)

---
 dlls/msxml3/dispex.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/msxml3/dispex.c b/dlls/msxml3/dispex.c
index d13b182..23b8805 100644
--- a/dlls/msxml3/dispex.c
+++ b/dlls/msxml3/dispex.c
@@ -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);
-- 
1.5.6.5


