From: Howard Chu Date: Tue, 13 Feb 2007 13:40:56 +0000 (+0000) Subject: Cleanup si_ctxcsn and si_sids in db_destroy X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f649d8a29cc6a8c7693124d870aceec4e58ddc54;p=openldap Cleanup si_ctxcsn and si_sids in db_destroy --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index d78a25c032..5a399a43e8 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -2669,6 +2669,10 @@ syncprov_db_destroy( ch_free( si->si_logs ); } + if ( si->si_ctxcsn ) + ber_bvarray_free( si->si_ctxcsn ); + if ( si->si_sids ) + ch_free( si->si_sids ); ldap_pvt_thread_mutex_destroy( &si->si_mods_mutex ); ldap_pvt_thread_mutex_destroy( &si->si_ops_mutex ); ldap_pvt_thread_rdwr_destroy( &si->si_csn_rwlock );