From 10632ce639d5e99b334601efc3bada7a8e3f1679 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Sun, 1 May 2011 00:14:46 +0400 Subject: [PATCH] free --- c/malloc_speed_test/pool_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/malloc_speed_test/pool_list.c b/c/malloc_speed_test/pool_list.c index bb96371..b207e73 100644 --- a/c/malloc_speed_test/pool_list.c +++ b/c/malloc_speed_test/pool_list.c @@ -135,7 +135,7 @@ int main() printf("не удалось выделить память под %lld блок\n", i); break; } -return 0; + for (i = 0; i < nblocks; i++) pool_free(&bp, mem[i]);