mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
riched20: Take a ref on text host.
This commit is contained in:
parent
4ce100aa64
commit
d6ce9db80f
@ -79,6 +79,7 @@ HRESULT WINAPI CreateTextServices(IUnknown * pUnkOuter,
|
||||
return E_OUTOFMEMORY;
|
||||
InitializeCriticalSection(&ITextImpl->csTxtSrv);
|
||||
ITextImpl->ref = 1;
|
||||
ITextHost_AddRef(pITextHost);
|
||||
ITextImpl->pMyHost = pITextHost;
|
||||
ITextImpl->lpVtbl = &textservices_Vtbl;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user