eina: fix eina_bench.c compilation error.

Summary:
When trying to compile eina_bench.c we get an error that say we didnt
defined the variables that EINA_ARRAY_ITER_NEXT. I defined them.
@fix

Reviewers: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1952

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Avi Levin 2015-02-09 22:04:01 +01:00 committed by Cedric BAIL
parent 024880add4
commit d5496b09ad
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,10 @@ static void _mempool_shutdown(void)
eina_module_list_free(_modules);
if (_modules)
{
Eina_Array_Iterator it;
char* module;
unsigned int i;
EINA_ARRAY_ITER_NEXT(_modules, i, module, it)
free(module);
eina_array_free(_modules);