diff options
author | Jeremy Allison <jra@samba.org> | 2006-03-07 18:52:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:11:02 -0500 |
commit | 841c9b1847ae12656b827e3d35b8bf0c3f68b8b4 (patch) | |
tree | 9f160558922ad6f42d94bd59bcb7e28a67b31b74 /source/include/smb_macros.h | |
parent | 8d183441403524fe39e79af843d6cfe65898f7d3 (diff) | |
download | samba-841c9b1847ae12656b827e3d35b8bf0c3f68b8b4.tar.gz samba-841c9b1847ae12656b827e3d35b8bf0c3f68b8b4.tar.xz samba-841c9b1847ae12656b827e3d35b8bf0c3f68b8b4.zip |
r13975: Re-fix Coverity #156 - I had left the hidden arg. inconsistent
between Realloc and realloc_array.
Jeremy.
Diffstat (limited to 'source/include/smb_macros.h')
-rw-r--r-- | source/include/smb_macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/smb_macros.h b/source/include/smb_macros.h index 6c9ab017ba6..3ae8814cfd3 100644 --- a/source/include/smb_macros.h +++ b/source/include/smb_macros.h @@ -274,7 +274,7 @@ copy an IP address from one buffer to another #define SMB_REALLOC(p,s) Realloc((p),(s),True) /* Always frees p on error or s == 0 */ #define SMB_REALLOC_KEEP_OLD_ON_ERROR(p,s) Realloc((p),(s),False) /* Never frees p on error or s == 0 */ #define SMB_REALLOC_ARRAY(p,type,count) (type *)realloc_array((p),sizeof(type),(count),True) /* Always frees p on error or s == 0 */ -#define SMB_REALLOC_ARRAY_KEEP_OLD_ON_ERROR(p,type,count) (type *)realloc_array((p),sizeof(type),(count),False) /* Always frees p on error or s == 0 */ +#define SMB_REALLOC_ARRAY_KEEP_OLD_ON_ERROR(p,type,count) (type *)realloc_array((p),sizeof(type),(count),False) /* Never frees p on error or s == 0 */ #define SMB_CALLOC_ARRAY(type,count) (type *)calloc_array(sizeof(type),(count)) #define SMB_XMALLOC_P(type) (type *)smb_xmalloc_array(sizeof(type),1) #define SMB_XMALLOC_ARRAY(type,count) (type *)smb_xmalloc_array(sizeof(type),(count)) |