Commit 55d367fb authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wbemdisp: Use the global HeapAlloc() wrappers.

parent c1cf1618
......@@ -30,6 +30,7 @@
#include "wbemdisp.h"
#include "wine/debug.h"
#include "wine/heap.h"
#include "wine/unicode.h"
#include "wbemdisp_private.h"
#include "wbemdisp_classes.h"
......
......@@ -29,6 +29,7 @@
#include "rpcproxy.h"
#include "wine/debug.h"
#include "wine/heap.h"
#include "wine/unicode.h"
#include "wbemdisp_private.h"
#include "wbemdisp_classes.h"
......
......@@ -17,13 +17,3 @@
*/
HRESULT SWbemLocator_create(LPVOID *) DECLSPEC_HIDDEN;
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);
}
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