Michael Stefaniuc : shdocvw: Use the global HeapAlloc() wrappers.
Alexandre Julliard
julliard at winehq.org
Tue Feb 6 15:55:50 CST 2018
Module: wine
Branch: master
Commit: 373d32efa67a7f0562f0f6562b81f56a5b9a936c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=373d32efa67a7f0562f0f6562b81f56a5b9a936c
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Sat Feb 3 00:17:57 2018 +0100
shdocvw: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/shdocvw/shdocvw.h | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/dlls/shdocvw/shdocvw.h b/dlls/shdocvw/shdocvw.h
index a2736d8..8cac507 100644
--- a/dlls/shdocvw/shdocvw.h
+++ b/dlls/shdocvw/shdocvw.h
@@ -35,6 +35,7 @@
#include "exdisp.h"
#include "wine/unicode.h"
+#include "wine/heap.h"
#include "wine/list.h"
/**********************************************************************
@@ -50,17 +51,4 @@ extern LONG SHDOCVW_refCount DECLSPEC_HIDDEN;
static inline void SHDOCVW_LockModule(void) { InterlockedIncrement( &SHDOCVW_refCount ); }
static inline void SHDOCVW_UnlockModule(void) { InterlockedDecrement( &SHDOCVW_refCount ); }
-
-/* memory allocation functions */
-
-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);
-}
-
#endif /* __WINE_SHDOCVW_H */
More information about the wine-cvs
mailing list