atl: 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-29 22:50:41 +01:00 committed by Alexandre Julliard
parent 73035e13be
commit 30d41b2289
1 changed files with 1 additions and 10 deletions

View File

@ -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;
/***********************************************************************