mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#4911 move slap_op_init/destroy to slap_init/destroy
This commit is contained in:
parent
c3998fb210
commit
75e1f0ef68
@ -94,6 +94,8 @@ slap_init( int mode, const char *name )
|
||||
|
||||
slapMode = mode;
|
||||
|
||||
slap_op_init();
|
||||
|
||||
#ifdef SLAPD_MODULES
|
||||
if ( module_init() != 0 ) {
|
||||
slap_debug |= LDAP_DEBUG_NONE;
|
||||
@ -310,8 +312,10 @@ int slap_destroy(void)
|
||||
|
||||
}
|
||||
|
||||
slap_op_destroy();
|
||||
|
||||
ldap_pvt_thread_destroy();
|
||||
|
||||
/* should destory the above mutex */
|
||||
/* should destroy the above mutex */
|
||||
return rc;
|
||||
}
|
||||
|
@ -727,7 +727,6 @@ unhandled_option:;
|
||||
|
||||
extops_init();
|
||||
lutil_passwd_init();
|
||||
slap_op_init();
|
||||
|
||||
#ifdef HAVE_TLS
|
||||
rc = ldap_create( &slap_tls_ld );
|
||||
@ -958,8 +957,6 @@ destroy:
|
||||
module_kill();
|
||||
#endif
|
||||
|
||||
slap_op_destroy();
|
||||
|
||||
extops_kill();
|
||||
|
||||
supported_feature_destroy();
|
||||
|
Loading…
Reference in New Issue
Block a user