mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
Fix undetected deadlock
This commit is contained in:
parent
cbb883e5e5
commit
bd498d2996
@ -241,7 +241,7 @@ static int indexer(
|
||||
|
||||
if( rc == LDAP_SUCCESS && keys != NULL ) {
|
||||
for( i=0; keys[i].bv_val != NULL; i++ ) {
|
||||
bdb_key_change( op->o_bd, db, txn, &keys[i], id, opid );
|
||||
rc = bdb_key_change( op->o_bd, db, txn, &keys[i], id, opid );
|
||||
if( rc ) {
|
||||
ber_bvarray_free_x( keys, op->o_tmpmemctx );
|
||||
goto done;
|
||||
|
Loading…
Reference in New Issue
Block a user