[PATCH] explorerframe: Use the global HeapAlloc() wrappers
Michael Stefaniuc
mstefani at winehq.org
Tue Jan 30 16:40:57 CST 2018
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/explorerframe/explorerframe_main.h | 10 ----------
dlls/explorerframe/taskbarlist.c | 1 +
2 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/dlls/explorerframe/explorerframe_main.h b/dlls/explorerframe/explorerframe_main.h
index ec8b3634c4..14e551c48d 100644
--- a/dlls/explorerframe/explorerframe_main.h
+++ b/dlls/explorerframe/explorerframe_main.h
@@ -34,14 +34,4 @@ static inline void EFRAME_UnlockModule(void) { InterlockedDecrement( &EFRAME_ref
HRESULT NamespaceTreeControl_Constructor(IUnknown *pUnkOuter, REFIID riid, void **ppv) DECLSPEC_HIDDEN;
HRESULT TaskbarList_Constructor(IUnknown*,REFIID,void**) 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);
-}
-
#endif /* __WINE_EXPLORERFRAME_H */
diff --git a/dlls/explorerframe/taskbarlist.c b/dlls/explorerframe/taskbarlist.c
index 26a2c1a487..a50f8a97d3 100644
--- a/dlls/explorerframe/taskbarlist.c
+++ b/dlls/explorerframe/taskbarlist.c
@@ -21,6 +21,7 @@
#include "explorerframe_main.h"
#include "wine/debug.h"
+#include "wine/heap.h"
WINE_DEFAULT_DEBUG_CHANNEL(explorerframe);
--
2.14.3
More information about the wine-devel
mailing list