msident: Use the global HeapAlloc() wrappers.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2018-01-31 22:51:05 +01:00 committed by Alexandre Julliard
parent c3ddc115aa
commit 2689ecdf1d
1 changed files with 1 additions and 10 deletions

View File

@ -24,19 +24,10 @@
#include "rpcproxy.h" #include "rpcproxy.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/heap.h"
WINE_DEFAULT_DEBUG_CHANNEL(msident); 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; static HINSTANCE msident_instance;
typedef struct { typedef struct {