mscoree: Correct VARIANT type.

This commit is contained in:
Nikolay Sivov 2012-01-23 12:53:25 +03:00 committed by Alexandre Julliard
parent a5b492eb39
commit 6302ba5dd6
1 changed files with 2 additions and 2 deletions

View File

@ -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);