Michael Stefaniuc : jsproxy: Use the global HeapAlloc() wrappers.

Alexandre Julliard julliard at winehq.org
Thu Feb 1 16:14:52 CST 2018


Module: wine
Branch: master
Commit: 4d4cc0a0951c92a7f92166a011e3bd93c177d1d0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=4d4cc0a0951c92a7f92166a011e3bd93c177d1d0

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Wed Jan 31 22:51:03 2018 +0100

jsproxy: Use the global HeapAlloc() wrappers.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/jsproxy/main.c | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/dlls/jsproxy/main.c b/dlls/jsproxy/main.c
index a52fbb4..d1ac903 100644
--- a/dlls/jsproxy/main.c
+++ b/dlls/jsproxy/main.c
@@ -51,6 +51,7 @@
 #include "dispex.h"
 #include "activscp.h"
 #include "wine/debug.h"
+#include "wine/heap.h"
 #include "wine/unicode.h"
 
 static HINSTANCE instance;
@@ -87,16 +88,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
     return TRUE;
 }
 
-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);
-}
-
 static inline WCHAR *strdupAW( const char *src, int len )
 {
     WCHAR *dst = NULL;




More information about the wine-cvs mailing list