Aric Stewart : msctf/tests: Release the ITfDocumentMgr received on GetFocus .
Module: wine Branch: master Commit: 3fff6ec879e30a134d3a409dd78b2c6722a41c55 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3fff6ec879e30a134d3a409dd7... Author: Aric Stewart <aric(a)codeweavers.com> Date: Thu Jun 25 17:00:22 2009 +0900 msctf/tests: Release the ITfDocumentMgr received on GetFocus. --- dlls/msctf/tests/inputprocessor.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/msctf/tests/inputprocessor.c b/dlls/msctf/tests/inputprocessor.c index 4d94d3c..ba43570 100644 --- a/dlls/msctf/tests/inputprocessor.c +++ b/dlls/msctf/tests/inputprocessor.c @@ -1170,6 +1170,7 @@ static void test_startSession(void) hr = ITfThreadMgr_GetFocus(g_tm,&dmtest); ok(SUCCEEDED(hr),"GetFocus Failed\n"); ok(g_dm == dmtest,"Expected DocumentMgr not focused\n"); + ITfDocumentMgr_Release(dmtest); TextStoreACP_Constructor((IUnknown**)&ts);
participants (1)
-
Alexandre Julliard