msctf: ITfContext::GetDocumentMgr should AddRef the DocumentMgr.
This commit is contained in:
parent
190357b14b
commit
2dd5a3bea2
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue