Commit 334cd866 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

Make the test-recover1 pass valgrind. Addresses #483.

git-svn-id: file:///svn/tokudb@2813 c7de825b-a66e-492c-adef-691d508d4ae1
parent 095bf489
......@@ -44,7 +44,8 @@ static void test (void) {
r=db->get(db, tid, dbt_init(&key, "a", 2), dbt_init_malloc(&data), 0); assert(r==0);
r=tid->commit(tid, 0); assert(r==0);
free(data.data);
r=db->close(db, 0); CKERR(r);
r=env->close(env, 0); CKERR(r);
}
int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__unused__))) {
......
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