msscript.ocx: 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-01-31 22:51:06 +01:00 committed by Alexandre Julliard
parent 2689ecdf1d
commit 9a58365c52

View file

@ -28,6 +28,7 @@
#include "msscript.h"
#include "wine/debug.h"
#include "wine/heap.h"
#include "wine/list.h"
WINE_DEFAULT_DEBUG_CHANNEL(msscript);
@ -103,16 +104,6 @@ struct ScriptControl {
static HINSTANCE msscript_instance;
static inline void * __WINE_ALLOC_SIZE(1) heap_alloc(size_t len)
{
return HeapAlloc(GetProcessHeap(), 0, len);
}
static inline BOOL heap_free(void *mem)
{
return HeapFree(GetProcessHeap(), 0, mem);
}
typedef enum tid_t {
IScriptControl_tid,
LAST_tid