Module: wine Branch: master Commit: f27ac1bb777aa74c82d91203a06591299e6fef3d URL: https://gitlab.winehq.org/wine/wine/-/commit/f27ac1bb777aa74c82d91203a065912...
Author: Alex Henrie alexhenrie24@gmail.com Date: Thu Nov 2 21:50:55 2023 -0600
include: Annotate MIDL_user_allocate with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC).
---
include/rpcndr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/rpcndr.h b/include/rpcndr.h index 498aa4ddd40..2d836726a15 100644 --- a/include/rpcndr.h +++ b/include/rpcndr.h @@ -82,8 +82,8 @@ typedef unsigned char boolean; #define midl_user_free MIDL_user_free #define midl_user_allocate MIDL_user_allocate
-void * __RPC_USER MIDL_user_allocate(SIZE_T); void __RPC_USER MIDL_user_free(void *); +void * __RPC_USER MIDL_user_allocate(SIZE_T) __WINE_ALLOC_SIZE(1) __WINE_DEALLOC(MIDL_user_free) __WINE_MALLOC;
#define NdrFcShort(s) (unsigned char)(s & 0xff), (unsigned char)(s >> 8) #define NdrFcLong(s) (unsigned char)(s & 0xff), (unsigned char)((s & 0x0000ff00) >> 8), \