Robert Shearman : ole32: Release the standard marshal in the free-threaded marshaler' s UnmarshalInterface function.
Module: wine Branch: refs/heads/master Commit: b795631daa6d70e40f473b46c17a7ded2256deb1 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=b795631daa6d70e40f473b46... Author: Robert Shearman <rob(a)codeweavers.com> Date: Wed May 24 23:02:05 2006 +0100 ole32: Release the standard marshal in the free-threaded marshaler's UnmarshalInterface function. --- dlls/ole32/ftmarshal.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ole32/ftmarshal.c b/dlls/ole32/ftmarshal.c index 8749c3c..04eb745 100644 --- a/dlls/ole32/ftmarshal.c +++ b/dlls/ole32/ftmarshal.c @@ -238,6 +238,8 @@ FTMarshalImpl_UnmarshalInterface (LPMARS if (FAILED(hres)) return hres; hres = IMarshal_UnmarshalInterface (pMarshal, pStm, riid, ppv); + IMarshal_Release (pMarshal); + return hres; } else { IUnknown *object; @@ -259,8 +261,6 @@ FTMarshalImpl_UnmarshalInterface (LPMARS IUnknown_Release(object); return hres; } - - return S_OK; } static HRESULT WINAPI FTMarshalImpl_ReleaseMarshalData (LPMARSHAL iface, IStream * pStm)
participants (1)
-
Alexandre Julliard