mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-19 05:13:35 -05:00
ITS#8342 MDB_VL32/WIN32 - close file mapping handle in env_close
This commit is contained in:
parent
c3852f29af
commit
1c2a5888cf
1 changed files with 1 additions and 0 deletions
|
|
@ -5350,6 +5350,7 @@ mdb_env_close0(MDB_env *env, int excl)
|
|||
}
|
||||
#ifdef MDB_VL32
|
||||
#ifdef _WIN32
|
||||
if (env->me_fmh) CloseHandle(env->me_fmh);
|
||||
if (env->me_rpmutex) CloseHandle(env->me_rpmutex);
|
||||
#else
|
||||
pthread_mutex_destroy(&env->me_rpmutex);
|
||||
|
|
|
|||
Loading…
Reference in a new issue