From 408e806f27a57c5e1f222e21ba992ca9c0d2680c Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Fri, 4 Dec 2009 12:31:53 -0500 Subject: [PATCH] s3: Prevent glibc errors: talloc()ed memory should not be SAFE_FREE()ed. --- source3/libads/ldap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 2013344..1fb541d 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -2076,7 +2076,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)) { -- 1.6.4.2