Commit 6bc4bee1 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#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
parent 7448027d
...@@ -1024,6 +1024,8 @@ static int toku_env_close(DB_ENV * env, u_int32_t flags) { ...@@ -1024,6 +1024,8 @@ static int toku_env_close(DB_ENV * env, u_int32_t flags) {
toku_free(env->i->real_data_dir); toku_free(env->i->real_data_dir);
if (env->i->real_log_dir) if (env->i->real_log_dir)
toku_free(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) if (env->i->open_dbs)
toku_omt_destroy(&env->i->open_dbs); toku_omt_destroy(&env->i->open_dbs);
if (env->i->dir) if (env->i->dir)
......
Markdown is supported
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