netprofm: 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:
parent
11e706785e
commit
ffb8047649
|
@ -38,21 +38,12 @@
|
||||||
#include "olectl.h"
|
#include "olectl.h"
|
||||||
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
#include "wine/heap.h"
|
||||||
#include "wine/list.h"
|
#include "wine/list.h"
|
||||||
#include "netprofm_private.h"
|
#include "netprofm_private.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(netprofm);
|
WINE_DEFAULT_DEBUG_CHANNEL(netprofm);
|
||||||
|
|
||||||
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);
|
|
||||||
}
|
|
||||||
|
|
||||||
struct network
|
struct network
|
||||||
{
|
{
|
||||||
INetwork INetwork_iface;
|
INetwork INetwork_iface;
|
||||||
|
|
Loading…
Reference in New Issue