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:
committed by
Gerald (Jerry) Carter
parent
c43c1ec80c
commit
9c8d0efbfd
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user