mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Drop UNLOCK_MUTEX_R() on mdb_reader_pid() error
This commit is contained in:
parent
4c8f57615c
commit
c91f38160c
1 changed files with 1 additions and 3 deletions
|
|
@ -2202,10 +2202,8 @@ mdb_txn_renew0(MDB_txn *txn)
|
|||
|
||||
if (!(env->me_flags & MDB_LIVE_READER)) {
|
||||
rc = mdb_reader_pid(env, Pidset, pid);
|
||||
if (rc) {
|
||||
UNLOCK_MUTEX_R(env);
|
||||
if (rc)
|
||||
return rc;
|
||||
}
|
||||
env->me_flags |= MDB_LIVE_READER;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue