iccvid: 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
0f697d992a
commit
1796e7be1c
|
@ -51,6 +51,7 @@
|
||||||
#include "iccvid_private.h"
|
#include "iccvid_private.h"
|
||||||
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
#include "wine/heap.h"
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(iccvid);
|
WINE_DEFAULT_DEBUG_CHANNEL(iccvid);
|
||||||
|
|
||||||
|
@ -81,16 +82,6 @@ typedef struct _ICCVID_Info
|
||||||
cinepak_info *cvinfo;
|
cinepak_info *cvinfo;
|
||||||
} ICCVID_Info;
|
} ICCVID_Info;
|
||||||
|
|
||||||
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 unsigned char *in_buffer, uiclip[1024], *uiclp = NULL;
|
static unsigned char *in_buffer, uiclip[1024], *uiclp = NULL;
|
||||||
|
|
Loading…
Reference in New Issue