mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 23:59:34 -05:00
ITS#9339 Free remembered cookies on syncinfo free
This commit is contained in:
parent
9d528c111d
commit
1942bc20a8
1 changed files with 2 additions and 2 deletions
|
|
@ -6044,6 +6044,8 @@ syncinfo_free( syncinfo_t *sie, int free_all )
|
||||||
if ( !BER_BVISEMPTY( &sie->si_monitor_ndn )) {
|
if ( !BER_BVISEMPTY( &sie->si_monitor_ndn )) {
|
||||||
syncrepl_monitor_del( sie );
|
syncrepl_monitor_del( sie );
|
||||||
}
|
}
|
||||||
|
ch_free( sie->si_lastCookieSent.bv_val );
|
||||||
|
ch_free( sie->si_lastCookieRcvd.bv_val );
|
||||||
|
|
||||||
if ( sie->si_ld ) {
|
if ( sie->si_ld ) {
|
||||||
if ( sie->si_conn ) {
|
if ( sie->si_conn ) {
|
||||||
|
|
@ -7225,8 +7227,6 @@ syncrepl_monitor_del(
|
||||||
monitor_extra_t *mbe = mi->bi_extra;
|
monitor_extra_t *mbe = mi->bi_extra;
|
||||||
mbe->unregister_entry( &si->si_monitor_ndn );
|
mbe->unregister_entry( &si->si_monitor_ndn );
|
||||||
}
|
}
|
||||||
ch_free( si->si_lastCookieSent.bv_val );
|
|
||||||
ch_free( si->si_lastCookieRcvd.bv_val );
|
|
||||||
ch_free( si->si_monitor_ndn.bv_val );
|
ch_free( si->si_monitor_ndn.bv_val );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue