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

Alexandre Julliard julliard at winehq.org
Tue Jan 30 14:38:13 CST 2018


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

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Mon Jan 29 22:50:41 2018 +0100

atl: Use the global HeapAlloc() wrappers.

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

---

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

diff --git a/dlls/atl/atl.c b/dlls/atl/atl.c
index 0e48a39..e753429 100644
--- a/dlls/atl/atl.c
+++ b/dlls/atl/atl.c
@@ -23,6 +23,7 @@
 #include "atlcom.h"
 
 #include "wine/debug.h"
+#include "wine/heap.h"
 #include "wine/unicode.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(atl);
@@ -33,16 +34,6 @@ HINSTANCE atl_instance;
 
 typedef unsigned char cpp_bool;
 
-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 ICatRegister *catreg;
 
 /***********************************************************************




More information about the wine-cvs mailing list