Huw Davies : riched20: Take a ref on text host.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Mar 27 14:50:30 CST 2006
Module: wine
Branch: refs/heads/master
Commit: d6ce9db80fa044b424046e2f3ed09d6fff88a025
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=d6ce9db80fa044b424046e2f3ed09d6fff88a025
Author: Huw Davies <huw at codeweavers.com>
Date: Mon Mar 27 14:10:37 2006 +0100
riched20: Take a ref on text host.
---
dlls/riched20/txtsrv.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/riched20/txtsrv.c b/dlls/riched20/txtsrv.c
index 6bb0b9d..65dc54d 100644
--- a/dlls/riched20/txtsrv.c
+++ b/dlls/riched20/txtsrv.c
@@ -79,6 +79,7 @@ HRESULT WINAPI CreateTextServices(IUnkno
return E_OUTOFMEMORY;
InitializeCriticalSection(&ITextImpl->csTxtSrv);
ITextImpl->ref = 1;
+ ITextHost_AddRef(pITextHost);
ITextImpl->pMyHost = pITextHost;
ITextImpl->lpVtbl = &textservices_Vtbl;
More information about the wine-cvs
mailing list