diff --git a/dlls/ole32/stubmanager.c b/dlls/ole32/stubmanager.c index 9f33056e949..6e59581ccad 100644 --- a/dlls/ole32/stubmanager.c +++ b/dlls/ole32/stubmanager.c @@ -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); 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) stub_manager_int_release(m); diff --git a/dlls/ole32/tests/marshal.c b/dlls/ole32/tests/marshal.c index cd49a7cfd68..105e644c860 100644 --- a/dlls/ole32/tests/marshal.c +++ b/dlls/ole32/tests/marshal.c @@ -430,7 +430,6 @@ static void test_normal_marshal_and_unmarshal(void) ok_more_than_one_lock(); ok_zero_external_conn(); -todo_wine ok_last_release_closes(FALSE); IUnknown_Release(pProxy); @@ -512,7 +511,6 @@ static void test_same_apartment_unmarshal_failure(void) ok_no_locks(); ok_zero_external_conn(); -todo_wine ok_last_release_closes(FALSE); IStream_Release(pStream); @@ -1582,7 +1580,6 @@ static void test_lock_object_external(void) ok_no_locks(); ok_zero_external_conn(); -todo_wine ok_last_release_closes(FALSE); /* test CoLockObjectExternal doesn't release the last reference to an @@ -1603,7 +1600,6 @@ todo_wine ok_more_than_one_lock(); ok_zero_external_conn(); -todo_wine ok_last_release_closes(FALSE); CoDisconnectObject((IUnknown*)&Test_ClassFactory, 0); @@ -1676,7 +1672,6 @@ static void test_normal_marshal_and_unmarshal_twice(void) ok_more_than_one_lock(); ok_zero_external_conn(); -todo_wine ok_last_release_closes(FALSE); IStream_Seek(pStream, ullZero, STREAM_SEEK_SET, NULL);