diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-17 12:20:54 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-06-17 12:20:54 +0200 |
commit | aaa2a4f447ea674080aad7bf00eabf9043ef9d4f (patch) | |
tree | 11ed2feab5359d6320e76843e7f5a152cf4c3692 /source3/libads | |
parent | 4500f1d5844ed743ce6d209cd45815ef2b547fab (diff) | |
download | samba-aaa2a4f447ea674080aad7bf00eabf9043ef9d4f.tar.gz samba-aaa2a4f447ea674080aad7bf00eabf9043ef9d4f.tar.bz2 samba-aaa2a4f447ea674080aad7bf00eabf9043ef9d4f.zip |
Revert "Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails"
This reverts commit df8d089bc63c2a52cbdf3504cded8df620a59902.
(This used to be commit 342f8858200ed7c446516c270e1b4284d92010d8)
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/ldap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index fc336d988b..37c0c4d0ac 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -319,7 +319,6 @@ static NTSTATUS ads_find_dc(ADS_STRUCT *ads) status = get_sorted_dc_list(realm, sitename, &ip_list, &count, got_realm); if (!NT_STATUS_IS_OK(status)) { - SAFE_FREE(ip_list); /* fall back to netbios if we can */ if ( got_realm && !lp_disable_netbios() ) { got_realm = False; |