mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
ITS#5827, release syncop after mod op completes
This commit is contained in:
parent
6629ca8655
commit
c71e7b399a
1 changed files with 6 additions and 0 deletions
|
|
@ -1259,6 +1259,12 @@ syncprov_matchops( Operation *op, opcookie *opc, int saveit )
|
||||||
/* send DELETE */
|
/* send DELETE */
|
||||||
syncprov_qresp( opc, ss, LDAP_SYNC_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 );
|
ldap_pvt_thread_mutex_unlock( &si->si_ops_mutex );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue