mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +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();
|
||||
syn_destroy();
|
||||
|
||||
if( schema_init_done ) {
|
||||
ldap_pvt_thread_mutex_destroy( &ad_undef_mutex );
|
||||
ldap_pvt_thread_mutex_destroy( &oc_undef_mutex );
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user