Commit 876a380f authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

make valgrind happy

git-svn-id: file:///svn/tokudb@73 c7de825b-a66e-492c-adef-691d508d4ae1
parent 40c39c7f
...@@ -105,6 +105,9 @@ void test0 (void) { ...@@ -105,6 +105,9 @@ void test0 (void) {
} }
verify_htable(htable, data_n, data, saw); verify_htable(htable, data_n, data, saw);
} }
toku_hashtable_free(&htable);
free(data);
free(saw);
} }
void test1(void) { void test1(void) {
...@@ -128,6 +131,7 @@ void test1(void) { ...@@ -128,6 +131,7 @@ void test1(void) {
assert(r==0); assert(r==0);
} }
} }
toku_hashtable_free(&table);
} }
int main (int argc __attribute__((__unused__)), char *argv[] __attribute__((__unused__))) { 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