fix memleak in test suite.

SVN revision: 67834
This commit is contained in:
Gustavo Sverzut Barbieri 2012-02-10 20:38:28 +00:00
parent 252f6a04b3
commit 817d6234b8
1 changed files with 2 additions and 0 deletions

View File

@ -138,6 +138,8 @@ static void _mempool_init(void)
static void _mempool_shutdown(void)
{
eina_module_list_free(_modules);
if (_modules)
eina_array_free(_modules);
/* TODO delete the list */
eina_shutdown();
}