From d17f87e2830844aaef14fffe60c5ae0dbc73c997 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 29 Aug 2007 01:48:46 +0000 Subject: r24762: Fix the build, missed TALLOC_SIZE -> talloc_named_const. Jeremy. (This used to be commit e2d924248ef4c8158e80bfffa5d734b9723112ce) --- source3/include/smb_macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h index c85e6e0ea0..fb3d394d0d 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -299,7 +299,7 @@ NULL returns on zero request. JRA. #define TALLOC_ZERO(ctx, size) _talloc_zero(ctx, size, __location__) #define TALLOC_ZERO_P(ctx, type) (type *)_talloc_zero(ctx, sizeof(type), #type) #define TALLOC_ZERO_ARRAY(ctx, type, count) (type *)_talloc_zero_array(ctx, sizeof(type), count, #type) -#define TALLOC_SIZE(ctx, size) talloc(ctx, size, __location__) +#define TALLOC_SIZE(ctx, size) talloc_named_const(ctx, size, __location__) #define TALLOC_ZERO_SIZE(ctx, size) _talloc_zero(ctx, size, __location__) #endif -- cgit