Commit d6ce9db8 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

riched20: Take a ref on text host.

parent 4ce100aa
......@@ -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;
......
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