mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#5827, release syncop after mod op completes
This commit is contained in:
parent
6629ca8655
commit
c71e7b399a
@ -1259,6 +1259,12 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
|
||||
/* send DELETE */
|
||||
syncprov_qresp( opc, ss, LDAP_SYNC_DELETE );
|
||||
}
|
||||
if ( !saveit && found ) {
|
||||
/* Decrement s_inuse, was incremented when called
|
||||
* with saveit == TRUE
|
||||
*/
|
||||
syncprov_free_syncop( ss );
|
||||
}
|
||||
}
|
||||
ldap_pvt_thread_mutex_unlock( &si->si_ops_mutex );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user