svn commit: samba r6613 - in branches/SAMBA_3_0/source/include: .

jra at samba.org jra at samba.org
Wed May 4 16:19:24 GMT 2005


Author: jra
Date: 2005-05-04 16:19:23 +0000 (Wed, 04 May 2005)
New Revision: 6613

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6613

Log:
Merge back fix for PARANOID_MALLOC checker.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/include/smb_macros.h


Changeset:
Modified: branches/SAMBA_3_0/source/include/smb_macros.h
===================================================================
--- branches/SAMBA_3_0/source/include/smb_macros.h	2005-05-04 11:02:18 UTC (rev 6612)
+++ branches/SAMBA_3_0/source/include/smb_macros.h	2005-05-04 16:19:23 UTC (rev 6613)
@@ -289,7 +289,9 @@
 #define TALLOC_REALLOC_ARRAY(ctx, ptr, type, count) (type *)_talloc_realloc_array(ctx, ptr, sizeof(type), count, #type)
 #define talloc_destroy(ctx) talloc_free(ctx)
 
-#define PARANOID_MALLOC_CHECKER 1
+#if defined(DEVELOPER) && !defined(SMBMOUNT_MALLOC)
+#  define PARANOID_MALLOC_CHECKER 1
+#endif
 
 #if defined(PARANOID_MALLOC_CHECKER)
 



More information about the samba-cvs mailing list