Commit 0a1a4f7c authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

ole32: Stop crash under w2k8.

parent ea49a069
...@@ -2337,6 +2337,8 @@ static void test_handler_marshaling(void) ...@@ -2337,6 +2337,8 @@ static void test_handler_marshaling(void)
ok_ole_success(hr, "CoUnmarshalInterface"); ok_ole_success(hr, "CoUnmarshalInterface");
IStream_Release(pStream); IStream_Release(pStream);
if(hr == S_OK)
{
ok_more_than_one_lock(); ok_more_than_one_lock();
hr = IUnknown_QueryInterface(pProxy, &IID_IWineTest, (void **)&pObject); hr = IUnknown_QueryInterface(pProxy, &IID_IWineTest, (void **)&pObject);
...@@ -2351,6 +2353,7 @@ static void test_handler_marshaling(void) ...@@ -2351,6 +2353,7 @@ static void test_handler_marshaling(void)
IUnknown_Release(pProxy); IUnknown_Release(pProxy);
ok_no_locks(); ok_no_locks();
}
end_host_object(tid, thread); end_host_object(tid, thread);
......
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