forked from enlightenment/efl
parent
23c5801400
commit
09203ef10a
|
@ -70,3 +70,4 @@
|
||||||
2011-02-10 Sebastian Dransfeld
|
2011-02-10 Sebastian Dransfeld
|
||||||
|
|
||||||
* Move all eet cache handling to efreet_cache.c
|
* Move all eet cache handling to efreet_cache.c
|
||||||
|
* Free hashes on init error
|
||||||
|
|
|
@ -146,6 +146,13 @@ efreet_cache_init(void)
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
error:
|
error:
|
||||||
|
if (themes) eina_hash_free(themes);
|
||||||
|
themes = NULL;
|
||||||
|
if (icons) eina_hash_free(icons);
|
||||||
|
icons = NULL;
|
||||||
|
if (fallbacks) eina_hash_free(fallbacks);
|
||||||
|
fallbacks = NULL;
|
||||||
|
|
||||||
if (cache_exe_handler) ecore_event_handler_del(cache_exe_handler);
|
if (cache_exe_handler) ecore_event_handler_del(cache_exe_handler);
|
||||||
cache_exe_handler = NULL;
|
cache_exe_handler = NULL;
|
||||||
if (cache_monitor) ecore_file_monitor_del(cache_monitor);
|
if (cache_monitor) ecore_file_monitor_del(cache_monitor);
|
||||||
|
|
Loading…
Reference in New Issue