Commit 37ed8ef2 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

dnsapi: Use the global HeapAlloc() wrappers.

parent fdcd7e8f
......@@ -22,20 +22,7 @@
# error You must include config.h to use this header
#endif
static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size)
{
return HeapAlloc(GetProcessHeap(), 0, size);
}
static inline void* __WINE_ALLOC_SIZE(1) heap_alloc_zero(size_t size)
{
return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size);
}
static inline BOOL heap_free(void *mem)
{
return HeapFree(GetProcessHeap(), 0, mem);
}
#include "wine/heap.h"
static inline LPSTR dns_strdup_a( LPCSTR src )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment