diff options
author | Jeremy Allison <jra@samba.org> | 2006-09-13 16:21:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:51:43 -0500 |
commit | a4743f3a76dc88f765f9bc5dde8054b60d3045cc (patch) | |
tree | d2b6611c374dfa5d5084ac3a308b7dfe1302c16b /source3 | |
parent | 5606e85d74d4dd9eb8616d497aaaad07f7e7d792 (diff) | |
download | samba-a4743f3a76dc88f765f9bc5dde8054b60d3045cc.tar.gz samba-a4743f3a76dc88f765f9bc5dde8054b60d3045cc.tar.xz samba-a4743f3a76dc88f765f9bc5dde8054b60d3045cc.zip |
r18480: Doh ! Double-free of hostnameDN.
Jeremy.
(This used to be commit f8984fa8b706bb76559e447b30a201e1cc2871b6)
Diffstat (limited to 'source3')
-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 7ea605df604..6b18bbf5945 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -2922,7 +2922,6 @@ ADS_STATUS ads_leave_realm(ADS_STRUCT *ads, const char *hostname) DEBUG(3,("ldap_delete_ext_s succeeded with error code %d\n", rc)); } - ads_memfree(ads, hostnameDN); if (rc != LDAP_SUCCESS) { const char *attrs[] = { "cn", NULL }; LDAPMessage *msg_sub; |