#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:
Rich Prohaska 2013-04-16 23:59:20 -04:00 committed by Yoni Fogel
parent 7448027de9
commit 6bc4bee1cd

View file

@ -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)