msctf: ITfContext::GetDocumentMgr should AddRef the DocumentMgr.

This commit is contained in:
Aric Stewart 2009-06-24 17:29:05 +09:00 committed by Alexandre Julliard
parent 190357b14b
commit 2dd5a3bea2
1 changed files with 3 additions and 0 deletions

View File

@ -532,6 +532,9 @@ static HRESULT WINAPI Context_GetDocumentMgr (ITfContext *iface,
*ppDm = This->manager;
if (!This->manager)
return S_FALSE;
ITfDocumentMgr_AddRef(This->manager);
return S_OK;
}