mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-18 09:16:17 +00:00
cmd: Remove malloc attribute from xrealloc.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
This commit is contained in:
parent
0db23b1bf7
commit
508b3ac996
|
@ -124,8 +124,9 @@ void WCMD_free_commands(CMD_LIST *cmds);
|
||||||
void WCMD_execute (const WCHAR *orig_command, const WCHAR *redirects,
|
void WCMD_execute (const WCHAR *orig_command, const WCHAR *redirects,
|
||||||
CMD_LIST **cmdList, BOOL retrycall);
|
CMD_LIST **cmdList, BOOL retrycall);
|
||||||
|
|
||||||
void *xrealloc(void *, size_t) __WINE_ALLOC_SIZE(2) __WINE_DEALLOC(free) __WINE_MALLOC;
|
void *xrealloc(void *, size_t) __WINE_ALLOC_SIZE(2) __WINE_DEALLOC(free);
|
||||||
|
|
||||||
|
static inline void *xalloc(size_t sz) __WINE_MALLOC;
|
||||||
static inline void *xalloc(size_t sz)
|
static inline void *xalloc(size_t sz)
|
||||||
{
|
{
|
||||||
return xrealloc(NULL, sz);
|
return xrealloc(NULL, sz);
|
||||||
|
|
Loading…
Reference in a new issue