From dec88f8c358423f308c15fc018e5a5b31fc9ad72 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Thu, 10 Dec 2015 00:22:01 +0300 Subject: [PATCH] mdbx: fix double-free on thread-destroy. Seems this is fixes the https://github.com/ReOpen/ReOpenLDAP/issues/60 Change-Id: I29830a1b9cec0285edc976e6892678cd38e4445c --- mdb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mdb.c b/mdb.c index 7919b88d..7a13dc88 100644 --- a/mdb.c +++ b/mdb.c @@ -4966,7 +4966,6 @@ mdb_env_close0(MDB_env *env) mdb_ensure(env, rthc->rc_reader == reader); rthc->rc_reader = NULL; reader->mr_rthc = NULL; - free(rthc); } reader->mr_pid = 0; }