ole32: When releasing marshal data of a normal ref ignore any remaining weak refs.

This commit is contained in:
Huw Davies 2013-10-24 16:16:50 +01:00 committed by Alexandre Julliard
parent 17d81e0987
commit 8235b55917
2 changed files with 2 additions and 2 deletions

View File

@ -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? */

View File

@ -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);