msi: Wine fails the test and passes us a Session object back, so free it in this case.

oldstable
James Hawkins 2009-12-10 17:01:24 -08:00 committed by Alexandre Julliard
parent e38c36a1f9
commit 50833f0780
1 changed files with 2 additions and 0 deletions

View File

@ -721,6 +721,8 @@ static void test_dispatch(void)
todo_wine ok(hr == DISP_E_EXCEPTION, "IDispatch::Invoke returned 0x%08x\n", hr);
ok_exception(hr, szOpenPackageException);
VariantClear(&vararg[0]);
if (hr != DISP_E_EXCEPTION)
VariantClear(&varresult);
/* Try one parameter, the required BSTR. Second parameter is optional.
* Proper installer package exists. Path to the package is absolute.