summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/benchmarks/eina/eina_bench.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/benchmarks/eina/eina_bench.c b/src/benchmarks/eina/eina_bench.c
index a226fd9892..1f7d18cec4 100644
--- a/src/benchmarks/eina/eina_bench.c
+++ b/src/benchmarks/eina/eina_bench.c
@@ -66,7 +66,12 @@ static void _mempool_init(void)
66static void _mempool_shutdown(void) 66static void _mempool_shutdown(void)
67{ 67{
68 eina_module_list_free(_modules); 68 eina_module_list_free(_modules);
69 /* TODO delete the list */ 69 if (_modules)
70 {
71 EINA_ARRAY_ITER_NEXT(_modules, i, module, it)
72 free(module);
73 eina_array_free(_modules);
74 }
70 eina_shutdown(); 75 eina_shutdown();
71} 76}
72 77