From: Howard Chu Date: Thu, 18 Sep 2014 00:22:02 +0000 (+0100) Subject: Plug leak in 4d02c741b120786df1b87ee9ed49c1d3f9bc7522 X-Git-Tag: OPENLDAP_REL_ENG_2_4_40~3^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=891e6627548939c60e229e61feb1d3c3322f3bcc;p=openldap Plug leak in 4d02c741b120786df1b87ee9ed49c1d3f9bc7522 Free writer txn on env_close --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 4ed78a740d..7ddb36e200 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -4559,6 +4559,7 @@ mdb_env_close0(MDB_env *env, int excl) free(env->me_dbxs); free(env->me_path); free(env->me_dirty_list); + free(env->me_txn0); mdb_midl_free(env->me_free_pgs); if (env->me_flags & MDB_ENV_TXKEY) {