From bd498d2996af8228e7416aea6c95c36ff85f27c4 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 11 Jan 2005 22:08:06 +0000 Subject: [PATCH] Fix undetected deadlock --- servers/slapd/back-bdb/index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/index.c b/servers/slapd/back-bdb/index.c index 3eb11c351f..6f101275be 100644 --- a/servers/slapd/back-bdb/index.c +++ b/servers/slapd/back-bdb/index.c @@ -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; -- 2.39.5