Alex Henrie : include: Annotate I_RpcAllocate with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC).
Module: wine Branch: master Commit: 41b4d9b30159f410ce59c0c3e690bafcf5041b95 URL: https://gitlab.winehq.org/wine/wine/-/commit/41b4d9b30159f410ce59c0c3e690baf... Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Tue Nov 29 20:06:07 2022 -0700 include: Annotate I_RpcAllocate with __WINE_(ALLOC_SIZE|DEALLOC|MALLOC). --- include/rpcdcep.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/rpcdcep.h b/include/rpcdcep.h index bf518064553..2eeef973ff0 100644 --- a/include/rpcdcep.h +++ b/include/rpcdcep.h @@ -152,10 +152,11 @@ RPCRTAPI RPC_STATUS RPC_ENTRY RPCRTAPI RPC_STATUS RPC_ENTRY I_RpcReceive( RPC_MESSAGE* Message ); -RPCRTAPI void* RPC_ENTRY - I_RpcAllocate( unsigned int Size ); RPCRTAPI void RPC_ENTRY I_RpcFree( void* Object ); +RPCRTAPI void* RPC_ENTRY + I_RpcAllocate( unsigned int Size ) + __WINE_ALLOC_SIZE(1) __WINE_DEALLOC(I_RpcFree) __WINE_MALLOC; RPCRTAPI RPC_BINDING_HANDLE RPC_ENTRY I_RpcGetCurrentCallHandle( void );
participants (1)
-
Alexandre Julliard