mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
schema_destroy(): Handle failed slap_schema_init()
This commit is contained in:
parent
c044d32262
commit
6567412f54
1 changed files with 4 additions and 2 deletions
|
|
@ -4681,6 +4681,8 @@ schema_destroy( void )
|
|||
mru_destroy();
|
||||
syn_destroy();
|
||||
|
||||
ldap_pvt_thread_mutex_destroy( &ad_undef_mutex );
|
||||
ldap_pvt_thread_mutex_destroy( &oc_undef_mutex );
|
||||
if( schema_init_done ) {
|
||||
ldap_pvt_thread_mutex_destroy( &ad_undef_mutex );
|
||||
ldap_pvt_thread_mutex_destroy( &oc_undef_mutex );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue