From 6302ba5dd6674812a3780f694ccd044379bac4d9 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 23 Jan 2012 12:53:25 +0300 Subject: [PATCH] mscoree: Correct VARIANT type. --- dlls/mscoree/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/mscoree/config.c b/dlls/mscoree/config.c index 02c11b1adf5..c5e3cec7cd6 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);