From ffb80476499123c6c66c25454dc14de0bb755faf Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Fri, 2 Feb 2018 01:03:54 +0100 Subject: [PATCH] netprofm: Use the global HeapAlloc() wrappers. Signed-off-by: Michael Stefaniuc Signed-off-by: Alexandre Julliard --- 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 e28be12f2d6..f6823f09cf0 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;