mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 07:14:17 +01:00
#2782 refs[t:2782] free the env's real_tmp_dir when it is closed
git-svn-id: file:///svn/toku/tokudb@21856 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
7448027de9
commit
6bc4bee1cd
1 changed files with 2 additions and 0 deletions
|
@ -1024,6 +1024,8 @@ static int toku_env_close(DB_ENV * env, u_int32_t flags) {
|
|||
toku_free(env->i->real_data_dir);
|
||||
if (env->i->real_log_dir)
|
||||
toku_free(env->i->real_log_dir);
|
||||
if (env->i->real_tmp_dir)
|
||||
toku_free(env->i->real_tmp_dir);
|
||||
if (env->i->open_dbs)
|
||||
toku_omt_destroy(&env->i->open_dbs);
|
||||
if (env->i->dir)
|
||||
|
|
Loading…
Add table
Reference in a new issue