From 89307e29451b0e5595c3925a26016998533a7eaf Mon Sep 17 00:00:00 2001 From: Rich Prohaska Date: Wed, 18 Jun 2008 23:53:05 +0000 Subject: [PATCH] init the val memory to fix a valgrind error. addresses #935 git-svn-id: file:///svn/tokudb@4641 c7de825b-a66e-492c-adef-691d508d4ae1 --- src/tests/test_935.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/test_935.c b/src/tests/test_935.c index 3b2db2101b7..f95e6c8576a 100644 --- a/src/tests/test_935.c +++ b/src/tests/test_935.c @@ -40,7 +40,7 @@ void testit(const int klen, const int vlen, const int n, const int lastvlen) { // insert to fill up a node { - void *v = malloc(vlen); assert(v); + void *v = malloc(vlen); assert(v); memset(v, 0, vlen); DB_TXN *txn = 0; int i; for (i=0; i