mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-20 22:03:45 -05:00
ITS#7127 fix syncrepl_config reference to freed memory
This commit is contained in:
parent
cedbc9f77f
commit
214ad8c987
1 changed files with 3 additions and 3 deletions
|
|
@ -5512,13 +5512,13 @@ syncrepl_config( ConfigArgs *c )
|
|||
ldap_pvt_runqueue_stoptask( &slapd_rq, re );
|
||||
isrunning = 1;
|
||||
}
|
||||
ldap_pvt_runqueue_remove( &slapd_rq, re );
|
||||
ldap_pvt_thread_mutex_unlock( &slapd_rq.rq_mutex );
|
||||
|
||||
if ( ldap_pvt_thread_pool_retract( &connection_pool,
|
||||
re->routine, re ) > 0 )
|
||||
isrunning = 0;
|
||||
|
||||
ldap_pvt_runqueue_remove( &slapd_rq, re );
|
||||
ldap_pvt_thread_mutex_unlock( &slapd_rq.rq_mutex );
|
||||
|
||||
ldap_pvt_thread_mutex_unlock( &si->si_mutex );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue