mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
ole32: Fix the free-threaded marshaler when it has no outer unknown.
This commit is contained in:
parent
ec2a9cef3a
commit
4d1d2b6c1f
@ -241,7 +241,7 @@ HRESULT WINAPI CoCreateFreeThreadedMarshaler (LPUNKNOWN punkOuter, LPUNKNOWN * p
|
||||
ftm->lpVtbl = &iunkvt;
|
||||
ftm->lpvtblFTM = &ftmvtbl;
|
||||
ftm->ref = 1;
|
||||
ftm->pUnkOuter = punkOuter;
|
||||
ftm->pUnkOuter = punkOuter ? punkOuter : _IFTMUnknown_(ftm);
|
||||
|
||||
*ppunkMarshal = _IFTMUnknown_ (ftm);
|
||||
return S_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user