Commit 82eb1b55 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #5464 fix memory leaks in cachetable-test after bringing partitioned counters on board


git-svn-id: file:///svn/toku/tokudb@48183 c7de825b-a66e-492c-adef-691d508d4ae1
parent aaeff4ea
......@@ -34,6 +34,7 @@ static void
test_cachetable_create(void) {
CACHETABLE ct = NULL;
toku_cachetable_create(&ct, 0, ZERO_LSN, NULL_LOGGER);
toku_cachetable_close(&ct);
}
static const int test_object_size = 1;
......@@ -326,6 +327,8 @@ static void test_dirty(void) {
assert(pinned == 0);
toku_cachefile_close(&f, false, ZERO_LSN);
toku_cachetable_close(&t);
}
static int test_size_debug;
......@@ -405,6 +408,7 @@ static void test_size_resize(void) {
assert(r == 0);
toku_cachefile_close(&f, false, ZERO_LSN);
toku_cachetable_close(&t);
}
static int min2(int a, int b) { return a < b ? a : b; }
......
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