Commit 2dd5a3be authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

msctf: ITfContext::GetDocumentMgr should AddRef the DocumentMgr.

parent 190357b1
...@@ -532,6 +532,9 @@ static HRESULT WINAPI Context_GetDocumentMgr (ITfContext *iface, ...@@ -532,6 +532,9 @@ static HRESULT WINAPI Context_GetDocumentMgr (ITfContext *iface,
*ppDm = This->manager; *ppDm = This->manager;
if (!This->manager) if (!This->manager)
return S_FALSE; return S_FALSE;
ITfDocumentMgr_AddRef(This->manager);
return S_OK; return S_OK;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment