projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3852f2
)
ITS#8342 MDB_VL32/WIN32 - close file mapping handle in env_close
author
Howard Chu
<hyc@openldap.org>
Mon, 28 Dec 2015 19:33:51 +0000
(19:33 +0000)
committer
Howard Chu
<hyc@openldap.org>
Mon, 28 Dec 2015 19:38:32 +0000
(19:38 +0000)
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
56243dc
..
19930fc
100644
(file)
--- a/
libraries/liblmdb/mdb.c
+++ b/
libraries/liblmdb/mdb.c
@@
-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);