From 242d1179f92666e7548cb2f26695a0306e20d64c Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Fri, 4 Dec 2009 12:31:53 -0500 Subject: [PATCH] s3: bug #6967: Prevent glibc error on net ads join: talloc()ed memory should not be SAFE_FREE()ed. Signed-off-by: Jim McDonough --- source3/libads/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index bb8d43c96f5..4005ed66002 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -2089,7 +2089,7 @@ ADS_STATUS ads_move_machine_acct(ADS_STRUCT *ads, const char *machine_name, done: ads_msgfree(ads, res); SAFE_FREE(filter); - SAFE_FREE(computer_dn); + TALLOC_FREE(computer_dn); SAFE_FREE(computer_rdn); if (!ADS_ERR_OK(rc)) { -- 2.11.4.GIT