From: Howard Chu Date: Sat, 3 Jul 2004 21:06:34 +0000 (+0000) Subject: Fix misplaced unlock in prev commit X-Git-Tag: OPENDLAP_REL_ENG_2_2_MP~121 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=56103a575bfb0691683a189832de5f4a58613e98;p=openldap Fix misplaced unlock in prev commit --- diff --git a/servers/slapd/back-bdb/cache.c b/servers/slapd/back-bdb/cache.c index 24d2a2edfd..8ef3bd8940 100644 --- a/servers/slapd/back-bdb/cache.c +++ b/servers/slapd/back-bdb/cache.c @@ -687,9 +687,9 @@ again: ldap_pvt_thread_rdwr_rlock( &bdb->bi_cache.c_rwlock ); #endif (*eip)->bei_e = ep; } - bdb_cache_entry_db_relock( bdb->bi_dbenv, locker, - *eip, 0, 0, lock ); } + bdb_cache_entry_db_relock( bdb->bi_dbenv, locker, + *eip, 0, 0, lock ); #ifdef BDB_HIER } else { /* Check for subtree renames