ole32: When releasing marshal data of a normal ref ignore any remaining weak refs.
This commit is contained in:
parent
17d81e0987
commit
8235b55917
|
@ -578,7 +578,7 @@ void stub_manager_release_marshal_data(struct stub_manager *m, ULONG refs, const
|
|||
else if (ifstub->flags & MSHLFLAGS_TABLESTRONG)
|
||||
refs = 1;
|
||||
|
||||
stub_manager_ext_release(m, refs, tableweak, FALSE);
|
||||
stub_manager_ext_release(m, refs, tableweak, !tableweak);
|
||||
}
|
||||
|
||||
/* is an ifstub table marshaled? */
|
||||
|
|
|
@ -1399,12 +1399,12 @@ static void test_tableweak_and_normal_marshal_and_releasedata(void)
|
|||
|
||||
if (with_external_conn)
|
||||
{
|
||||
todo_wine
|
||||
ok_more_than_one_lock();
|
||||
IStream_Seek(data.pStream1, ullZero, STREAM_SEEK_SET, NULL);
|
||||
release_host_object(tid, 1);
|
||||
}
|
||||
|
||||
else todo_wine
|
||||
ok_no_locks();
|
||||
|
||||
IStream_Release(data.pStream1);
|
||||
|
|
Loading…
Reference in New Issue