Commit 4d088151 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

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

parent 3024b530
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment