From: Volker Lendecke Date: Fri, 17 Oct 2025 12:26:32 +0000 (+0200) Subject: s3: Remove the now-unused TALLOC() macro X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5b66d23d80763065b7e080f1df59920cdf68254;p=thirdparty%2Fsamba.git s3: Remove the now-unused TALLOC() macro Signed-off-by: Volker Lendecke Reviewed-by: Anoop C S --- diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h index 3192cbe11d8..da2e5d591c6 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -211,7 +211,6 @@ copy an IP address from one buffer to another #define SMB_XMALLOC_P(type) (type *)smb_xmalloc_array(sizeof(type),1) #define SMB_XMALLOC_ARRAY(type,count) (type *)smb_xmalloc_array(sizeof(type),(count)) -#define TALLOC(ctx, size) talloc_named_const(ctx, size, __location__) #define TALLOC_SIZE(ctx, size) talloc_named_const(ctx, size, __location__) #define TALLOC_REALLOC(ctx, ptr, count) _talloc_realloc(ctx, ptr, count, __location__) #define talloc_destroy(ctx) talloc_free(ctx)