Commit 891e6627 authored by Howard Chu's avatar Howard Chu
Browse files

Plug leak in 4d02c741

Free writer txn on env_close
parent 674f52fd
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment