mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
a fix to prev commit
This commit is contained in:
parent
31a6de16b0
commit
292c568f36
@ -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 New Issue
Block a user