mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 03:29:35 -05:00
ITS#9907 Move TLS context cleanup into lload_global_destroy
This commit is contained in:
parent
572a9a1597
commit
13d9c925dd
2 changed files with 3 additions and 4 deletions
|
|
@ -124,6 +124,9 @@ lload_global_destroy( void )
|
|||
if ( lload_tls_ld ) {
|
||||
ldap_unbind_ext( lload_tls_ld, NULL, NULL );
|
||||
}
|
||||
if ( lload_tls_ctx ) {
|
||||
ldap_pvt_tls_ctx_free( lload_tls_ctx );
|
||||
}
|
||||
#endif
|
||||
|
||||
ldap_pvt_thread_mutex_destroy( &lload_wait_mutex );
|
||||
|
|
|
|||
|
|
@ -890,10 +890,6 @@ stop:
|
|||
lloadd_daemon_destroy();
|
||||
|
||||
#ifdef HAVE_TLS
|
||||
if ( lload_tls_ld ) {
|
||||
ldap_pvt_tls_ctx_free( lload_tls_ctx );
|
||||
ldap_unbind_ext( lload_tls_ld, NULL, NULL );
|
||||
}
|
||||
ldap_pvt_tls_destroy();
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue