shdocvw: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2017-02-08 17:53:29 +01:00 committed by Alexandre Julliard
parent 948991f23a
commit f3d33f57a7

View file

@ -53,7 +53,7 @@ static inline void SHDOCVW_UnlockModule(void) { InterlockedDecrement( &SHDOCVW_r
/* memory allocation functions */
static inline void *heap_alloc(size_t len)
static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t len)
{
return HeapAlloc(GetProcessHeap(), 0, len);
}