Fix return value for CoRevokeMallocSpy.
Gerald Pfeifer
gerald at pfeifer.com
Sat May 1 15:38:00 CDT 2010
And another installment of our popular series of incorrect return
values. :-)
Gerald
---
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;
}
/******************************************************************************
--
1.6.6.2
More information about the wine-patches
mailing list