From cb2a145c2e2e45ced5f2f98cc239dff343c89eb0 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 17 Oct 2025 14:46:48 +0200 Subject: [PATCH] lib: Remove duplicate #define of TALLOC_FREE() These days talloc.h has it. Signed-off-by: Volker Lendecke Reviewed-by: Anoop C S --- source3/include/smb_macros.h | 4 ---- 1 file changed, 4 deletions(-) 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) -- 2.47.3