mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
schema_destroy(): Handle failed slap_schema_init()
This commit is contained in:
parent
c044d32262
commit
6567412f54
@ -4681,6 +4681,8 @@ schema_destroy( void )
|
|||||||
mru_destroy();
|
mru_destroy();
|
||||||
syn_destroy();
|
syn_destroy();
|
||||||
|
|
||||||
|
if( schema_init_done ) {
|
||||||
ldap_pvt_thread_mutex_destroy( &ad_undef_mutex );
|
ldap_pvt_thread_mutex_destroy( &ad_undef_mutex );
|
||||||
ldap_pvt_thread_mutex_destroy( &oc_undef_mutex );
|
ldap_pvt_thread_mutex_destroy( &oc_undef_mutex );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user