Module: wine Branch: master Commit: 2dd5a3bea2fbcc049132708cc4859126ab2a03cb URL: http://source.winehq.org/git/wine.git/?a=commit;h=2dd5a3bea2fbcc049132708cc4...
Author: Aric Stewart aric@codeweavers.com Date: Wed Jun 24 17:29:05 2009 +0900
msctf: ITfContext::GetDocumentMgr should AddRef the DocumentMgr.
---
dlls/msctf/context.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/msctf/context.c b/dlls/msctf/context.c index e11a0e8..5be06d3 100644 --- a/dlls/msctf/context.c +++ b/dlls/msctf/context.c @@ -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; }