summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/emotion/emotion_modules.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/emotion/emotion_modules.c b/src/lib/emotion/emotion_modules.c
index 95d6a8b..dffc6fd 100644
--- a/src/lib/emotion/emotion_modules.c
+++ b/src/lib/emotion/emotion_modules.c
@@ -146,9 +146,6 @@ emotion_modules_shutdown(void)
146{ 146{
147 Emotion_Engine_Registry_Entry *re; 147 Emotion_Engine_Registry_Entry *re;
148 148
149 EINA_LIST_FREE(_emotion_engine_registry, re)
150 _emotion_engine_registry_entry_free(re);
151
152#ifdef EMOTION_STATIC_BUILD_XINE 149#ifdef EMOTION_STATIC_BUILD_XINE
153 xine_module_shutdown(); 150 xine_module_shutdown();
154#endif 151#endif
@@ -166,6 +163,12 @@ emotion_modules_shutdown(void)
166 _emotion_modules = NULL; 163 _emotion_modules = NULL;
167 } 164 }
168 165
166 EINA_LIST_FREE(_emotion_engine_registry, re)
167 {
168 WRN("Engine was not unregistered: %p", re->engine);
169 _emotion_engine_registry_entry_free(re);
170 }
171
169 _emotion_modules_loaded = EINA_FALSE; 172 _emotion_modules_loaded = EINA_FALSE;
170} 173}
171 174