Ensure we don't return unwritten memory (valgrind caught).
[metze/old/v3-2-winbind-ndr.git] / source / include / smb_macros.h
index c44f245d2b403b3983faa382163d80964a8b1921..d53d6c3418af4fd1a5c213c087320b3bfd583948 100644 (file)
@@ -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