From e9cea3e2d822cc32de6c50644c6d307587fcd63b Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 29 Aug 2007 04:06:09 +0000 Subject: r24764: Fix second TALLOC_SIZE definition. Still watching the build farm to see I didn't stuff this up... Jeremy. (This used to be commit 4ca43172d9feae92060ddefb76a97622bca32d1b) --- source3/libaddns/dns.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libaddns') diff --git a/source3/libaddns/dns.h b/source3/libaddns/dns.h index 21dc52ac77..8f2a089853 100644 --- a/source3/libaddns/dns.h +++ b/source3/libaddns/dns.h @@ -116,7 +116,7 @@ void *talloc_zeronull(const void *context, size_t size, const char *name); #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