mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 20:19:34 -05:00
Fix previous commit
This commit is contained in:
parent
4a1eb51d3e
commit
ecd4296640
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ int bdb_entry_release(
|
|||
boi = (struct bdb_op_info *)o->o_private;
|
||||
}
|
||||
/* lock is freed with txn */
|
||||
if ( boi && boi->boi_txn ) {
|
||||
if ( !boi || boi->boi_txn ) {
|
||||
bdb_unlocked_cache_return_entry_rw( &bdb->bi_cache, e, rw );
|
||||
} else {
|
||||
bdb_cache_return_entry_rw( bdb->bi_dbenv, &bdb->bi_cache, e, rw, &boi->boi_lock );
|
||||
|
|
|
|||
Loading…
Reference in a new issue