Commit 8e3e5d42 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:2494], fix some leaks in the test

git-svn-id: file:///svn/toku/tokudb@19089 c7de825b-a66e-492c-adef-691d508d4ae1
parent e87bd547
...@@ -108,6 +108,8 @@ int test_main (int argc, char * const argv[]) { ...@@ -108,6 +108,8 @@ int test_main (int argc, char * const argv[]) {
assert(((char *)(curr_key.data))[0] == 'y'); assert(((char *)(curr_key.data))[0] == 'y');
assert(((char *)(curr_val.data))[0] == 'y'); assert(((char *)(curr_val.data))[0] == 'y');
cursor_committed->c_close(cursor_committed);
cursor_uncommitted->c_close(cursor_uncommitted);
} }
r = txn_put->commit(txn_put, 0); CKERR(r); r = txn_put->commit(txn_put, 0); CKERR(r);
r = txn_committed->commit(txn_committed, 0); CKERR(r); r = txn_committed->commit(txn_committed, 0); CKERR(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