git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97a3d51
)
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:14:49 +0000
(12:14 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Tue, 17 Jun 2008 10:38:49 +0000
(12:38 +0200)
This reverts commit
6bcfa82ff15531c64e0db27dcc58e5847c513aa6
.
(cherry picked from commit
6f3183d0c4880dcf243239cd1ed018b9d10a4249
)
source/libads/ldap.c
patch
|
blob
|
history
diff --git
a/source/libads/ldap.c
b/source/libads/ldap.c
index 7f26d3da10410f4dea7da17642fe6dd6941c7a14..063645febf75cc13cecf0c0a6b5ed764c41f8118 100644
(file)
--- a/
source/libads/ldap.c
+++ b/
source/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;