Commit 66d3305b authored by Yoni Fogel's avatar Yoni Fogel

Removed memory leak in a test (tests fault).

git-svn-id: file:///svn/tokudb@2737 c7de825b-a66e-492c-adef-691d508d4ae1
parent 4d93aa69
......@@ -21,8 +21,8 @@ int main(int argc, const char *argv[]) {
int nums[1000];
char letters[2] = {'A','B'};
unsigned found;
unsigned bufsize = 2;
toku_range* buf = (toku_range*)toku_malloc(bufsize*sizeof(toku_range));
unsigned bufsize;
toku_range* buf;
unsigned j = 0;
unsigned i;
......@@ -41,6 +41,8 @@ int main(int argc, const char *argv[]) {
find_all_range.data = NULL;
#ifndef TOKU_RT_NOOVERLAPS
bufsize = 2;
buf = (toku_range*)toku_malloc(bufsize*sizeof(toku_range));
/* Test overlap case */
/*
......
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