Gerald Pfeifer : ole32: Fix return value for CoRevokeMallocSpy.

Alexandre Julliard julliard at winehq.org
Mon May 3 11:54:10 CDT 2010


Module: wine
Branch: master
Commit: c6f74e386b5f527843fd520f3a987bf8d36aff2c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c6f74e386b5f527843fd520f3a987bf8d36aff2c

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat May  1 22:38:00 2010 +0200

ole32: Fix return value for CoRevokeMallocSpy.

---

 dlls/ole32/ifs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/ifs.c b/dlls/ole32/ifs.c
index c6a6962..1a10c3e 100644
--- a/dlls/ole32/ifs.c
+++ b/dlls/ole32/ifs.c
@@ -501,7 +501,7 @@ HRESULT WINAPI CoRevokeMallocSpy(void)
         }
 	LeaveCriticalSection(&IMalloc32_SpyCS);
 
-	return S_OK;
+	return hres;
 }
 
 /******************************************************************************




More information about the wine-cvs mailing list