[1/2] ole32: Replace ERR by WARN since ReleaseMarshalData can be called on a destroyed apartment.

Dmitry Timoshkov dmitry at baikal.ru
Thu Jun 13 22:02:02 CDT 2013


---
 dlls/ole32/marshal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ole32/marshal.c b/dlls/ole32/marshal.c
index ddaaa53..0de4660 100644
--- a/dlls/ole32/marshal.c
+++ b/dlls/ole32/marshal.c
@@ -1916,7 +1916,7 @@ HRESULT WINAPI CoReleaseMarshalData(IStream *pStream)
     /* call the helper object to do the releasing of marshal data */
     hr = IMarshal_ReleaseMarshalData(pMarshal, pStream);
     if (hr != S_OK)
-        ERR("IMarshal::ReleaseMarshalData failed with error 0x%08x\n", hr);
+        WARN("IMarshal::ReleaseMarshalData failed with error 0x%08x\n", hr);
 
     IMarshal_Release(pMarshal);
     return hr;
-- 
1.8.3.1




More information about the wine-patches mailing list