From: Volker Lendecke Date: Fri, 17 Oct 2025 12:46:48 +0000 (+0200) Subject: lib: Remove duplicate #define of TALLOC_FREE() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb2a145c2e2e45ced5f2f98cc239dff343c89eb0;p=thirdparty%2Fsamba.git lib: Remove duplicate #define of TALLOC_FREE() These days talloc.h has it. 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 be81d21a296..0d7ed45b770 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -211,10 +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)) -#ifndef TALLOC_FREE -#define TALLOC_FREE(ctx) do { talloc_free(ctx); ctx=NULL; } while(0) -#endif - /* only define PARANOID_MALLOC_CHECKER with --enable-developer */ #if defined(DEVELOPER)