diff options
author | Jim McDonough <jmcd@samba.org> | 2009-12-04 12:31:53 -0500 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2009-12-04 12:43:27 -0500 |
commit | 265e4dfbb614398cffc5619a9800fc85f96e5438 (patch) | |
tree | c0b849a7e513d5dd87d7bc028779e7bdf568b582 | |
parent | 02fe8630395879ffa761d75c7d7b75fc7cda5e4c (diff) | |
download | samba-265e4dfbb614398cffc5619a9800fc85f96e5438.tar.gz samba-265e4dfbb614398cffc5619a9800fc85f96e5438.tar.bz2 samba-265e4dfbb614398cffc5619a9800fc85f96e5438.zip |
s3: bug #6967: Prevent glibc error on net ads join:
talloc()ed memory should not be SAFE_FREE()ed.
Signed-off-by: Jim McDonough <jmcd@samba.org>
-rw-r--r-- | 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 bb8d43c96f..4005ed6600 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)) { |