scrrun: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().
Francois Gouget
fgouget at free.fr
Wed Feb 8 10:53:10 CST 2017
Signed-off-by: Francois Gouget <fgouget at free.fr>
---
dlls/scrrun/scrrun_private.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/scrrun/scrrun_private.h b/dlls/scrrun/scrrun_private.h
index e2023f967ad..33128760889 100644
--- a/dlls/scrrun/scrrun_private.h
+++ b/dlls/scrrun/scrrun_private.h
@@ -46,7 +46,7 @@ struct provideclassinfo {
extern void init_classinfo(const GUID *guid, IUnknown *outer, struct provideclassinfo *classinfo) DECLSPEC_HIDDEN;
-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);
}
--
2.11.0
More information about the wine-patches
mailing list