void emotion_modules_shutdown(void) { Emotion_Engine_Registry_Entry *re; #ifdef EMOTION_STATIC_BUILD_XINE xine_module_shutdown(); #endif #if defined(EMOTION_STATIC_BUILD_GSTREAMER) || defined(EMOTION_STATIC_BUILD_GSTREAMER1) gstreamer_module_shutdown(); #endif #ifdef EMOTION_STATIC_BUILD_GENERIC generic_module_shutdown(); #endif if (_emotion_modules) { eina_module_list_free(_emotion_modules); eina_array_free(_emotion_modules); _emotion_modules = NULL; } EINA_LIST_FREE(_emotion_engine_registry, re) { WRN("Engine was not unregistered: %p", re->engine); _emotion_engine_registry_entry_free(re); }
static void _mempool_shutdown(void) { eina_module_list_free(_modules); if (_modules) eina_array_free(_modules); /* TODO delete the list */ eina_shutdown(); }
void eweather_free(EWeather *eweather) { EWeather_Data *e_data; if(eweather->plugin.array) { eina_module_list_unload(eweather->plugin.array); eina_module_list_free(eweather->plugin.array); } EINA_LIST_FREE(eweather->data, e_data) free(e_data); free(eweather); }
static void _mempool_shutdown(void) { unsigned int i; Eina_Array_Iterator it; Eina_Module *module; eina_module_list_free(_modules); if (_modules) { EINA_ARRAY_ITER_NEXT(_modules, i, module, it) free(module); eina_array_free(_modules); } eina_shutdown(); }
void ecore_imf_module_shutdown(void) { if (modules) { eina_hash_free(modules); modules = NULL; } if (module_list) { eina_module_list_free(module_list); eina_array_free(module_list); module_list = NULL; } eina_prefix_free(pfx); pfx = NULL; }
void etui_modules_shutdown(void) { Etui_Provider_Registry_Entry *re; /* TODO : STATIC modules */ #ifdef ETUI_BUILD_STATIC_EPUB etui_module_epub_shutdown(); #endif #ifdef ETUI_BUILD_STATIC_DJVU etui_module_djvu_shutdown(); #endif #ifdef ETUI_BUILD_STATIC_IMG etui_module_img_shutdown(); #endif #ifdef ETUI_BUILD_STATIC_PS etui_module_ps_shutdown(); #endif #ifdef ETUI_BUILD_STATIC_PDF etui_module_pdf_shutdown(); #endif if (_etui_modules) { eina_module_list_free(_etui_modules); eina_array_free(_etui_modules); _etui_modules = NULL; } eina_hash_free(_etui_providers); EINA_LIST_FREE(_etui_provider_registries, re) { WRN("Engine was not unregistered: %p", re->provider); _etui_provider_registry_entry_free(re); }
Eina_Bool eina_mempool_shutdown(void) { /* builtin backends */ #ifdef EINA_STATIC_BUILD_BUDDY buddy_shutdown(); #endif #ifdef EINA_STATIC_BUILD_CHAINED_POOL chained_shutdown(); #endif #ifdef EINA_STATIC_BUILD_EMEMOA_FIXED ememoa_fixed_shutdown(); #endif #ifdef EINA_STATIC_BUILD_EMEMOA_UNKNOWN ememoa_unknown_shutdown(); #endif #ifdef EINA_STATIC_BUILD_FIXED_BITMAP fixed_bitmap_shutdown(); #endif #ifdef EINA_STATIC_BUILD_ONE_BIG one_big_shutdown(); #endif #ifdef EINA_STATIC_BUILD_PASS_THROUGH pass_through_shutdown(); #endif /* dynamic backends */ eina_module_list_free(_modules); if (_modules) eina_array_free(_modules); if (_backends) eina_hash_free(_backends); eina_log_domain_unregister(_eina_mempool_log_dom); _eina_mempool_log_dom = -1; return EINA_TRUE; }