ole32: Fix the free-threaded marshaler when it has no outer unknown.

This commit is contained in:
Robert Shearman 2006-05-24 23:00:53 +01:00 committed by Alexandre Julliard
parent ec2a9cef3a
commit 4d1d2b6c1f

View File

@ -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;