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

r24762: Fix the build, missed TALLOC_SIZE -> talloc_named_const.

Jeremy.
This commit is contained in:
Jeremy Allison 2007-08-29 01:48:46 +00:00 committed by Gerald (Jerry) Carter
parent 343be04643
commit e2d924248e

View 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