Commit 06a3a322 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wmvcore: Use the global HeapAlloc() wrappers.

parent b3a24b58
...@@ -24,13 +24,3 @@ ...@@ -24,13 +24,3 @@
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
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);
}
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include "initguid.h" #include "initguid.h"
#include "wmsdk.h" #include "wmsdk.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/heap.h"
WINE_DEFAULT_DEBUG_CHANNEL(wmvcore); WINE_DEFAULT_DEBUG_CHANNEL(wmvcore);
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include "wmsdkidl.h" #include "wmsdkidl.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/heap.h"
WINE_DEFAULT_DEBUG_CHANNEL(wmvcore); WINE_DEFAULT_DEBUG_CHANNEL(wmvcore);
......
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