From a4743f3a76dc88f765f9bc5dde8054b60d3045cc Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 13 Sep 2006 16:21:48 +0000 Subject: r18480: Doh ! Double-free of hostnameDN. Jeremy. (This used to be commit f8984fa8b706bb76559e447b30a201e1cc2871b6) --- source3/libads/ldap.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source3/libads') 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; -- cgit