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

Alexandre Julliard julliard at winehq.org
Fri Feb 2 12:24:37 CST 2018


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

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Fri Feb  2 01:03:54 2018 +0100

netprofm: Use the global HeapAlloc() wrappers.

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

---

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

diff --git a/dlls/netprofm/list.c b/dlls/netprofm/list.c
index e28be12..f6823f0 100644
--- a/dlls/netprofm/list.c
+++ b/dlls/netprofm/list.c
@@ -38,21 +38,12 @@
 #include "olectl.h"
 
 #include "wine/debug.h"
+#include "wine/heap.h"
 #include "wine/list.h"
 #include "netprofm_private.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(netprofm);
 
-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);
-}
-
 struct network
 {
     INetwork     INetwork_iface;




More information about the wine-cvs mailing list