ITS#8690 fix again

This commit is contained in:
Howard Chu 2017-08-04 13:40:34 +01:00
parent bcc6601091
commit c9e56b80f3

View File

@ -1973,13 +1973,14 @@ syncprov_op_response( Operation *op, SlapReply *rs )
/* for each match in opc->smatches:
* send DELETE msg
*/
ldap_pvt_thread_mutex_lock( &si->si_ops_mutex );
for ( sm = opc->smatches; sm; sm=sm->sm_next ) {
if ( sm->sm_op->s_op->o_abandon )
continue;
syncprov_qresp( opc, sm->sm_op, LDAP_SYNC_DELETE );
if ( opc->ssres.s_info )
free_resinfo( &opc->ssres );
}
free_resinfo( &opc->ssres );
ldap_pvt_thread_mutex_unlock( &si->si_ops_mutex );
break;
}
}