odbccp32: 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-02-02 01:03:55 +01:00 committed by Alexandre Julliard
parent ffb8047649
commit 0c7863d9e9
1 changed files with 1 additions and 10 deletions

View File

@ -31,6 +31,7 @@
#include "winnls.h"
#include "wine/unicode.h"
#include "wine/debug.h"
#include "wine/heap.h"
#include "odbcinst.h"
@ -84,16 +85,6 @@ static void clear_errors(void)
num_errors = 0;
}
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 inline WCHAR *heap_strdupAtoW(const char *str)
{
LPWSTR ret = NULL;