diff --git a/libraries/libldap/unbind.c b/libraries/libldap/unbind.c index 24cf90ad24..37616ed706 100644 --- a/libraries/libldap/unbind.c +++ b/libraries/libldap/unbind.c @@ -194,6 +194,7 @@ ldap_ld_free( #ifdef LDAP_R_COMPILE ldap_pvt_thread_mutex_destroy( &ld->ld_req_mutex ); ldap_pvt_thread_mutex_destroy( &ld->ld_res_mutex ); + ldap_pvt_thread_mutex_destroy( &ld->ld_conn_mutex ); #endif #ifndef NDEBUG LDAP_TRASH(ld);