Commit 80588b71 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

One of the valgrind errors is from forgetting to {{{closedir()}}}. Addresses #542.

git-svn-id: file:///svn/tokudb@2864 c7de825b-a66e-492c-adef-691d508d4ae1
parent 19e62973
...@@ -27,6 +27,8 @@ void check_logmax (int max) { ...@@ -27,6 +27,8 @@ void check_logmax (int max) {
} }
} }
assert(!any_too_big); assert(!any_too_big);
int r=closedir(dir);
assert(r==0);
} }
void test_logmax (int logmax) { void test_logmax (int logmax) {
......
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