git.samba.org
/
idra
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4500f1d
)
Revert "Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails"
author
Volker Lendecke
<vl@samba.org>
Tue, 17 Jun 2008 10:20:54 +0000
(12:20 +0200)
committer
Volker Lendecke
<vl@samba.org>
Tue, 17 Jun 2008 10:20:54 +0000
(12:20 +0200)
This reverts commit
df8d089bc63c2a52cbdf3504cded8df620a59902
.
(This used to be commit
342f8858200ed7c446516c270e1b4284d92010d8
)
source3/libads/ldap.c
patch
|
blob
|
history
diff --git
a/source3/libads/ldap.c
b/source3/libads/ldap.c
index fc336d988b2a796bb7c432844ed5a314ef077bfa..37c0c4d0ac49993fdd17f033d5be401a0f84e350 100644
(file)
--- 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;