summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-09-11 19:27:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:40 -0500
commit327ca9167ed28d2207444a93424cadef79d166b5 (patch)
tree069eb4ef0f7d5add67c9b4b6b0099f53ad01d9a4 /source3/include
parent351eb37a2555ce474ee02758f2f2cfee33d4d434 (diff)
downloadsamba-327ca9167ed28d2207444a93424cadef79d166b5.tar.gz
samba-327ca9167ed28d2207444a93424cadef79d166b5.tar.bz2
samba-327ca9167ed28d2207444a93424cadef79d166b5.zip
r25103: Ensure we don't return unwritten memory (valgrind caught).
Jeremy. (This used to be commit b3f0d39d11fa18b7bfef6cec88efaf4a2be2d6e0)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb_macros.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h
index c44f245d2b..d53d6c3418 100644
--- a/source3/include/smb_macros.h
+++ b/source3/include/smb_macros.h
@@ -270,9 +270,6 @@ copy an IP address from one buffer to another
#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))
-/* limiting size of ipc replies */
-#define SMB_REALLOC_LIMIT(ptr,size) (char *)SMB_REALLOC(ptr,MAX((size),4*1024))
-
/* The new talloc is paranoid malloc checker safe. */
#if 0