r24762: Fix the build, missed TALLOC_SIZE -> talloc_named_const.
authorJeremy Allison <jra@samba.org>
Wed, 29 Aug 2007 01:48:46 +0000 (01:48 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:18 +0000 (12:30 -0500)
Jeremy.
(This used to be commit e2d924248ef4c8158e80bfffa5d734b9723112ce)

source3/include/smb_macros.h

index c85e6e0ea098da75d92543b85e51f40ae311e423..fb3d394d0d3b07494af1f23a0a01048706cdadc5 100644 (file)
@@ -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