[SCM] Samba Shared Repository - branch v3-4-test updated
Karolin Seeger
kseeger at samba.org
Mon Dec 7 07:57:15 MST 2009
The branch, v3-4-test has been updated
via 779ebd6... s3: Prevent glibc errors: talloc()ed memory should not be SAFE_FREE()ed.
from 6b430b4... s3:build: remove redundant qnx block size definition (cherry picked from commit a2929a638fa6824e38beec7eaa78ac108c522f50)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test
- Log -----------------------------------------------------------------
commit 779ebd6a6800ceb0d192232b2ec9687115115c73
Author: Jim McDonough <jmcd at samba.org>
Date: Fri Dec 4 12:31:53 2009 -0500
s3: Prevent glibc errors: talloc()ed memory should not be SAFE_FREE()ed.
Fix bug #6967 (net ads join with OU fails with glibc error on free()).
-----------------------------------------------------------------------
Summary of changes:
source3/libads/ldap.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
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)) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list