Michael Stefaniuc : msident: Use the global HeapAlloc() wrappers.

Alexandre Julliard julliard at winehq.org
Thu Feb 1 16:14:52 CST 2018


Module: wine
Branch: master
Commit: 2689ecdf1d63c683caa737c0e8717a5ca302a836
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2689ecdf1d63c683caa737c0e8717a5ca302a836

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Wed Jan 31 22:51:05 2018 +0100

msident: Use the global HeapAlloc() wrappers.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msident/msident.c | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/dlls/msident/msident.c b/dlls/msident/msident.c
index 3efb190..8b9842f 100644
--- a/dlls/msident/msident.c
+++ b/dlls/msident/msident.c
@@ -24,19 +24,10 @@
 #include "rpcproxy.h"
 
 #include "wine/debug.h"
+#include "wine/heap.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(msident);
 
-static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size)
-{
-    return HeapAlloc(GetProcessHeap(), 0, size);
-}
-
-static inline BOOL heap_free(void *mem)
-{
-    return HeapFree(GetProcessHeap(), 0, mem);
-}
-
 static HINSTANCE msident_instance;
 
 typedef struct {




More information about the wine-cvs mailing list