Commit 0608c924 authored by Yoni Fogel's avatar Yoni Fogel

Addresses #553

Fixed memory leak during closing of lock tree managers.

git-svn-id: file:///svn/tokudb@2951 c7de825b-a66e-492c-adef-691d508d4ae1
parent 9e20ec53
...@@ -186,6 +186,7 @@ int toku_ltm_close(toku_ltm* mgr) { ...@@ -186,6 +186,7 @@ int toku_ltm_close(toku_ltm* mgr) {
r = toku_lt_close_without_ltm(lt); r = toku_lt_close_without_ltm(lt);
if (r!=0 && first_error==0) { first_error = r; } if (r!=0 && first_error==0) { first_error = r; }
} }
toku_lth_close(mgr->lth);
mgr->free(mgr); mgr->free(mgr);
r = first_error; r = first_error;
......
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