Commit d36625fc authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4920], fix memory leak

git-svn-id: file:///svn/toku/tokudb@44204 c7de825b-a66e-492c-adef-691d508d4ae1
parent 48aa0d2f
......@@ -67,6 +67,7 @@ run_recover(void) {
CHK(db_env_create(&env, 0));
env->set_errfile(env, stderr);
CHK(env->open(env, ENVDIR, envflags|DB_RECOVER, S_IRWXU+S_IRWXG+S_IRWXO));
CHK(env->close(env, 0));
}
int
......
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