author | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-04-14 04:03:00 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-04-14 04:03:00 UTC |
parent | cdefccb7f266c12c6633c3e0cef629b804d9f855 |
tests/performance/performance.c | +2 | -0 |
tests/performance/random.c | +2 | -0 |
diff --git a/tests/performance/performance.c b/tests/performance/performance.c index 199865a..789b966 100644 --- a/tests/performance/performance.c +++ b/tests/performance/performance.c @@ -85,6 +85,8 @@ static void *worker(void *tno) printf("%lu %zd %zd %f %f\n", tid, mb, blocksize, seconds, mb_per_sec); + free(buf); + return NULL; } diff --git a/tests/performance/random.c b/tests/performance/random.c index a788ddc..b159952 100644 --- a/tests/performance/random.c +++ b/tests/performance/random.c @@ -88,6 +88,8 @@ static void *worker(void *tno) printf("%lu %zd %zd %f %f\n", tid, mb, blocksize, seconds, mb_per_sec); + free(buf); + return NULL; }