mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 23:29:34 -05:00
plug another one-time leak
This commit is contained in:
parent
64af435895
commit
b286c9264b
1 changed files with 8 additions and 0 deletions
|
|
@ -1763,6 +1763,14 @@ monitor_back_db_destroy(
|
|||
(void)monitor_cache_destroy( mi );
|
||||
|
||||
if ( monitor_subsys ) {
|
||||
int i;
|
||||
|
||||
for ( i = 0; monitor_subsys[ i ] != NULL; i++ ) {
|
||||
if ( !BER_BVISNULL( &monitor_subsys[ i ]->mss_rdn ) ) {
|
||||
ch_free( monitor_subsys[ i ]->mss_rdn.bv_val );
|
||||
}
|
||||
}
|
||||
|
||||
ch_free( monitor_subsys );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue