Fix memory leak.

This commit is contained in:
Mark Valence 2000-06-04 22:59:06 +00:00
parent bb1d03a5e8
commit 6916d0d527

View File

@ -51,8 +51,7 @@ ldap_back_conn_destroy(
ldap_pvt_thread_mutex_unlock( &li->conn_mutex );
if (lc) {
if (lc->bound)
ldap_unbind(lc->ld);
ldap_unbind(lc->ld);
free(lc);
}