mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
a fix to prev commit
This commit is contained in:
parent
31a6de16b0
commit
292c568f36
1 changed files with 3 additions and 1 deletions
|
|
@ -484,10 +484,12 @@ int backend_destroy(void)
|
|||
}
|
||||
|
||||
if ( bd->be_pending_csn_list ) {
|
||||
LDAP_TAILQ_FOREACH( csne, bd->be_pending_csn_list, ce_csn_link ) {
|
||||
csne = LDAP_TAILQ_FIRST( bd->be_pending_csn_list );
|
||||
while ( csne ) {
|
||||
LDAP_TAILQ_REMOVE( bd->be_pending_csn_list, csne, ce_csn_link );
|
||||
ch_free( csne->ce_csn->bv_val );
|
||||
ch_free( csne->ce_csn );
|
||||
csne = LDAP_TAILQ_NEXT( csne, ce_csn_link );
|
||||
ch_free( csne );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue