Fix undetected deadlock

This commit is contained in:
Howard Chu 2005-01-11 22:08:06 +00:00
parent cbb883e5e5
commit bd498d2996

View File

@ -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;