>From c5c87002752a0e641e7f4eb9f79c75f515c6a004 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov@codeweavers.com>
Date: Mon, 23 Jan 2012 12:53:25 +0300
Subject: [PATCH 6/6] Correct VARIANT type

---
 dlls/mscoree/config.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/mscoree/config.c b/dlls/mscoree/config.c
index 02c11b1..c5e3cec 100644
--- a/dlls/mscoree/config.c
+++ b/dlls/mscoree/config.c
@@ -425,7 +425,7 @@ static HRESULT parse_config(VARIANT input, parsed_config_file *result)
         ISAXXMLReader_Release(reader);
     }
 
-    IUnknown_Release((IUnknown*)handler);
+    ISAXContentHandler_Release(&handler->ISAXContentHandler_iface);
 
     return S_OK;
 }
@@ -445,7 +445,7 @@ HRESULT parse_config_file(LPCWSTR filename, parsed_config_file *result)
 
     if (SUCCEEDED(hr))
     {
-        V_VT(&var) = VT_UNKNOWN|VT_DISPATCH;
+        V_VT(&var) = VT_UNKNOWN;
         V_UNKNOWN(&var) = (IUnknown*)stream;
 
         hr = parse_config(var, result);
-- 
1.5.6.5

