Commit 8d3b7e94 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

spoolss: Use the global HeapAlloc() wrappers.

parent f7062d1d
......@@ -31,6 +31,7 @@
#include "spoolss.h"
#include "wine/debug.h"
#include "wine/heap.h"
WINE_DEFAULT_DEBUG_CHANNEL(spoolss);
......
......@@ -23,20 +23,3 @@
BOOL backend_load_all(void) DECLSPEC_HIDDEN;
void backend_unload_all(void) DECLSPEC_HIDDEN;
/* ## Memory allocation functions ## */
static inline void * __WINE_ALLOC_SIZE(1) heap_alloc( size_t len )
{
return HeapAlloc( GetProcessHeap(), 0, len );
}
static inline void * __WINE_ALLOC_SIZE(1) heap_alloc_zero( size_t len )
{
return HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, len );
}
static inline BOOL heap_free( void *mem )
{
return HeapFree( GetProcessHeap(), 0, mem );
}
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