jean-claude Chauve fixed an LDAP bug

This commit is contained in:
Daniel Stenberg
2004-09-22 08:01:41 +00:00
parent 2de62cb06f
commit 7676f40218
3 changed files with 7 additions and 2 deletions

View File

@@ -350,8 +350,8 @@ CURLcode Curl_ldap(struct connectdata *conn)
Curl_client_write(data, CLIENTWRITE_BODY, (char *)"\n", 1);
(*ldap_memfree)(attribute);
(*ldap_memfree)(dn);
}
(*ldap_memfree)(dn);
if (ber)
(*ber_free)(ber, 0);
}