mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#9906 Do not touch subsys members after mss_destroy called
This commit is contained in:
parent
3ef90929ee
commit
2362c7ccc7
1 changed files with 4 additions and 4 deletions
|
|
@ -2537,13 +2537,13 @@ monitor_back_db_destroy(
|
|||
int i;
|
||||
|
||||
for ( i = 0; monitor_subsys[ i ] != NULL; i++ ) {
|
||||
if ( monitor_subsys[ i ]->mss_destroy ) {
|
||||
monitor_subsys[ i ]->mss_destroy( be, monitor_subsys[ i ] );
|
||||
}
|
||||
|
||||
if ( !BER_BVISNULL( &monitor_subsys[ i ]->mss_rdn ) ) {
|
||||
ch_free( monitor_subsys[ i ]->mss_rdn.bv_val );
|
||||
}
|
||||
|
||||
if ( monitor_subsys[ i ]->mss_destroy ) {
|
||||
monitor_subsys[ i ]->mss_destroy( be, monitor_subsys[ i ] );
|
||||
}
|
||||
}
|
||||
|
||||
ch_free( monitor_subsys );
|
||||
|
|
|
|||
Loading…
Reference in a new issue