[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    [PATCH] msident: Use the global HeapAlloc() wrappers
From:       Michael Stefaniuc <mstefani () winehq ! org>
Date:       2018-01-31 21:51:05
Message-ID: 20180131215106.6406-8-mstefani () winehq ! org
[Download RAW message or body]

Signed-off-by: Michael Stefaniuc <mstefani@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 3efb190a39..8b9842f960 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 {
-- 
2.14.3




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic