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

Alexandre Julliard julliard at winehq.org
Wed Jan 31 15:23:27 CST 2018


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

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Tue Jan 30 23:41:02 2018 +0100

iccvid: Use the global HeapAlloc() wrappers.

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

---

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

diff --git a/dlls/iccvid/iccvid.c b/dlls/iccvid/iccvid.c
index e5d5147..89d282b 100644
--- a/dlls/iccvid/iccvid.c
+++ b/dlls/iccvid/iccvid.c
@@ -51,6 +51,7 @@
 #include "iccvid_private.h"
 
 #include "wine/debug.h"
+#include "wine/heap.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(iccvid);
 
@@ -81,16 +82,6 @@ typedef struct _ICCVID_Info
     cinepak_info *cvinfo;
 } ICCVID_Info;
 
-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 unsigned char *in_buffer, uiclip[1024], *uiclp = NULL;




More information about the wine-cvs mailing list