forked from enlightenment/efl
we use lists, need to init/shutdown eina_list or we get segvs.
SVN revision: 41115
This commit is contained in:
parent
eb488748c6
commit
ebeee4b5ce
|
@ -30,6 +30,11 @@ int
|
|||
efreet_base_init(void)
|
||||
{
|
||||
if (!eina_stringshare_init()) return 0;
|
||||
if (!eina_list_init())
|
||||
{
|
||||
eina_stringshare_shutdown();
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
@ -50,6 +55,7 @@ efreet_base_shutdown(void)
|
|||
IF_FREE_LIST(xdg_data_dirs, eina_stringshare_del);
|
||||
IF_FREE_LIST(xdg_config_dirs, eina_stringshare_del);
|
||||
|
||||
eina_list_shutdown();
|
||||
eina_stringshare_shutdown();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue