oleaut32: Fix some reference count leaks in the tmarshal test.

This commit is contained in:
Rob Shearman 2008-01-31 14:44:28 +00:00 committed by Alexandre Julliard
parent 3024b530c9
commit 4d08815173
1 changed files with 2 additions and 0 deletions

View File

@ -785,6 +785,7 @@ static void test_typelibmarshal(void)
hr = CreateStreamOnHGlobal(NULL, TRUE, &pStream);
ok_ole_success(hr, CreateStreamOnHGlobal);
tid = start_host_object(pStream, &IID_IKindaEnumWidget, (IUnknown *)pKEW, MSHLFLAGS_NORMAL, &thread);
IKindaEnumWidget_Release(pKEW);
IStream_Seek(pStream, ullZero, STREAM_SEEK_SET, NULL);
hr = CoUnmarshalInterface(pStream, &IID_IKindaEnumWidget, (void **)&pKEW);
@ -1163,6 +1164,7 @@ static void test_DispCallFunc(void)
VariantClear(&varresult);
VariantClear(&vararg[1]);
VariantClear(&vararg[2]);
IWidget_Release(pWidget);
}
START_TEST(tmarshal)