mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
msctf: Fixed ref counts in tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bc645ca71a
commit
0bf6df6866
1 changed files with 4 additions and 1 deletions
|
@ -567,9 +567,9 @@ ITfContext *pic)
|
|||
hr = ITfContext_GetDocumentMgr(pic,&docmgr);
|
||||
ok(SUCCEEDED(hr),"GetDocumentMgr failed\n");
|
||||
test = (ITfContext*)0xdeadbeef;
|
||||
ITfDocumentMgr_Release(docmgr);
|
||||
hr = ITfDocumentMgr_GetTop(docmgr,&test);
|
||||
ok(SUCCEEDED(hr),"GetTop failed\n");
|
||||
ITfDocumentMgr_Release(docmgr);
|
||||
ok(test == pic, "Wrong context is on top\n");
|
||||
if (test)
|
||||
ITfContext_Release(test);
|
||||
|
@ -2345,6 +2345,9 @@ START_TEST(inputprocessor)
|
|||
test_UnregisterCategory();
|
||||
test_Unregister();
|
||||
test_profile_mgr();
|
||||
|
||||
ITextStoreACPSink_Release(ACPSink);
|
||||
ITfDocumentMgr_Release(g_dm);
|
||||
}
|
||||
else
|
||||
skip("Unable to create InputProcessor\n");
|
||||
|
|
Loading…
Reference in a new issue