From 74d638f15312059e31f2f3ece41d4e2819919863 Mon Sep 17 00:00:00 2001 From: devilhorns Date: Sat, 24 Jul 2010 02:28:24 +0000 Subject: [PATCH] Don't need 2 of the same variables. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@50473 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_module.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/edje_module.c b/src/lib/edje_module.c index 8cea663..c6f20da 100644 --- a/src/lib/edje_module.c +++ b/src/lib/edje_module.c @@ -108,8 +108,6 @@ _edje_module_init(void) void _edje_module_shutdown(void) { - const char *data; - eina_module_list_free(_available_modules); if (_available_modules) { @@ -126,6 +124,7 @@ _edje_module_shutdown(void) if (_modules_name) { const char *data; + EINA_LIST_FREE(_modules_name, data) { eina_stringshare_del(data); -- 2.7.4