Commit 4b8fc285 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

closes #5450 fix use-after-free, remove whitespace


git-svn-id: file:///svn/toku/tokudb@47596 c7de825b-a66e-492c-adef-691d508d4ae1
parent 0fbccaae
......@@ -137,6 +137,8 @@ void checkpointer_test::test_pending_bits() {
cachetable ctbl;
ctbl.list.init();
m_cp.init(&ctbl.list, NULL, &ctbl.ev, &cfl);
//
// 1. Empty hash chain.
//
......@@ -207,6 +209,7 @@ void checkpointer_test::test_pending_bits() {
int r = ctbl.list.destroy();
assert_zero(r);
m_cp.destroy();
}
//------------------------------------------------------------------------------
......@@ -361,5 +364,3 @@ test_main(int argc, const char *argv[]) {
return r;
}
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