Skip to content
Snippets Groups Projects
Commit bd498d29 authored by Howard Chu's avatar Howard Chu
Browse files

Fix undetected deadlock

parent cbb883e5
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment