1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00

r6613: Merge back fix for PARANOID_MALLOC checker.

Jeremy.
This commit is contained in:
Jeremy Allison
2005-05-04 16:19:23 +00:00
committed by Gerald (Jerry) Carter
parent c43c1ec80c
commit 9c8d0efbfd

View File

@@ -289,7 +289,9 @@ copy an IP address from one buffer to another
#define TALLOC_REALLOC_ARRAY(ctx, ptr, type, count) (type *)_talloc_realloc_array(ctx, ptr, sizeof(type), count, #type) #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 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) #if defined(PARANOID_MALLOC_CHECKER)