Commit 1864db2f authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ole32: Call IExternalConnection_ReleaseConnection with the correct final parameter.

parent 8235b559
...@@ -437,7 +437,7 @@ ULONG stub_manager_ext_release(struct stub_manager *m, ULONG refs, BOOL tablewea ...@@ -437,7 +437,7 @@ ULONG stub_manager_ext_release(struct stub_manager *m, ULONG refs, BOOL tablewea
TRACE("removed %u refs from %p (oid %s), rc is now %u\n", refs, m, wine_dbgstr_longlong(m->oid), rc); TRACE("removed %u refs from %p (oid %s), rc is now %u\n", refs, m, wine_dbgstr_longlong(m->oid), rc);
if (last_extern_ref && m->extern_conn) if (last_extern_ref && m->extern_conn)
IExternalConnection_ReleaseConnection(m->extern_conn, EXTCONN_STRONG, 0, TRUE /* FIXME: Use last_unlock releases? */); IExternalConnection_ReleaseConnection(m->extern_conn, EXTCONN_STRONG, 0, last_unlock_releases);
if (rc == 0) if (rc == 0)
stub_manager_int_release(m); stub_manager_int_release(m);
......
...@@ -430,7 +430,6 @@ static void test_normal_marshal_and_unmarshal(void) ...@@ -430,7 +430,6 @@ static void test_normal_marshal_and_unmarshal(void)
ok_more_than_one_lock(); ok_more_than_one_lock();
ok_zero_external_conn(); ok_zero_external_conn();
todo_wine
ok_last_release_closes(FALSE); ok_last_release_closes(FALSE);
IUnknown_Release(pProxy); IUnknown_Release(pProxy);
...@@ -512,7 +511,6 @@ static void test_same_apartment_unmarshal_failure(void) ...@@ -512,7 +511,6 @@ static void test_same_apartment_unmarshal_failure(void)
ok_no_locks(); ok_no_locks();
ok_zero_external_conn(); ok_zero_external_conn();
todo_wine
ok_last_release_closes(FALSE); ok_last_release_closes(FALSE);
IStream_Release(pStream); IStream_Release(pStream);
...@@ -1582,7 +1580,6 @@ static void test_lock_object_external(void) ...@@ -1582,7 +1580,6 @@ static void test_lock_object_external(void)
ok_no_locks(); ok_no_locks();
ok_zero_external_conn(); ok_zero_external_conn();
todo_wine
ok_last_release_closes(FALSE); ok_last_release_closes(FALSE);
/* test CoLockObjectExternal doesn't release the last reference to an /* test CoLockObjectExternal doesn't release the last reference to an
...@@ -1603,7 +1600,6 @@ todo_wine ...@@ -1603,7 +1600,6 @@ todo_wine
ok_more_than_one_lock(); ok_more_than_one_lock();
ok_zero_external_conn(); ok_zero_external_conn();
todo_wine
ok_last_release_closes(FALSE); ok_last_release_closes(FALSE);
CoDisconnectObject((IUnknown*)&Test_ClassFactory, 0); CoDisconnectObject((IUnknown*)&Test_ClassFactory, 0);
...@@ -1676,7 +1672,6 @@ static void test_normal_marshal_and_unmarshal_twice(void) ...@@ -1676,7 +1672,6 @@ static void test_normal_marshal_and_unmarshal_twice(void)
ok_more_than_one_lock(); ok_more_than_one_lock();
ok_zero_external_conn(); ok_zero_external_conn();
todo_wine
ok_last_release_closes(FALSE); ok_last_release_closes(FALSE);
IStream_Seek(pStream, ullZero, STREAM_SEEK_SET, NULL); IStream_Seek(pStream, ullZero, STREAM_SEEK_SET, NULL);
......
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