summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 7ea605df60..6b18bbf594 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;