mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
plug leaks
This commit is contained in:
parent
e0a28ee53f
commit
ed0bed72b9
@ -2419,6 +2419,9 @@ syncprov_db_destroy(
|
||||
syncprov_info_t *si = (syncprov_info_t *)on->on_bi.bi_private;
|
||||
|
||||
if ( si ) {
|
||||
if ( si->si_logs ) {
|
||||
ch_free( si->si_logs );
|
||||
}
|
||||
ldap_pvt_thread_mutex_destroy( &si->si_mods_mutex );
|
||||
ldap_pvt_thread_mutex_destroy( &si->si_ops_mutex );
|
||||
ldap_pvt_thread_mutex_destroy( &si->si_csn_mutex );
|
||||
|
@ -695,6 +695,7 @@ do_syncrep2(
|
||||
if ( BER_BVISEMPTY( &syncUUID ) ) {
|
||||
Debug( LDAP_DEBUG_ANY, "do_syncrep2: "
|
||||
"got empty syncUUID\n", 0, 0, 0 );
|
||||
ldap_controls_free( rctrls );
|
||||
rc = -1;
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user