struct ldapconn *lc = v_lc;
if ( lc->lc_ld != NULL ) {
- ldap_unbind_ext_s( lc->lc_ld, NULL, NULL );
+ ldap_unbind_ext( lc->lc_ld, NULL, NULL );
}
if ( !BER_BVISNULL( &lc->lc_bound_ndn ) ) {
ch_free( lc->lc_bound_ndn.bv_val );
if ( !BER_BVISNULL( &lc->lc_local_ndn ) ) {
ch_free( lc->lc_local_ndn.bv_val );
}
- ldap_pvt_thread_mutex_destroy( &lc->lc_mutex );
ch_free( lc );
}
ch_free( li->idassert_sasl_realm.bv_val );
BER_BVZERO( &li->idassert_sasl_realm );
}
+ if ( li->idassert_authz != NULL ) {
+ ber_bvarray_free( li->idassert_authz );
+ li->idassert_authz = NULL;
+ }
if ( li->conntree ) {
avl_free( li->conntree, ldap_back_conn_free );
}