ole32: Reset the message filter at the end of the message filter test.

This commit is contained in:
Rob Shearman 2006-12-19 19:37:29 +00:00 committed by Alexandre Julliard
parent a089e57983
commit 4fa03831a5
1 changed files with 3 additions and 1 deletions

View File

@ -1296,7 +1296,6 @@ static void test_message_filter(void)
hr = CoRegisterMessageFilter(&MessageFilter, &prev_filter);
ok_ole_success(hr, CoRegisterMessageFilter);
if (prev_filter) IMessageFilter_Release(prev_filter);
hr = IClassFactory_CreateInstance(cf, NULL, &IID_IUnknown, (LPVOID*)&proxy);
ok_ole_success(hr, IClassFactory_CreateInstance);
@ -1308,6 +1307,9 @@ static void test_message_filter(void)
ok_no_locks();
end_host_object(tid, thread);
hr = CoRegisterMessageFilter(prev_filter, NULL);
ok_ole_success(hr, CoRegisterMessageFilter);
}
/* test failure case of trying to unmarshal from bad stream */