elementary: fix segv when exiting elementary_config.

SVN revision: 59110
This commit is contained in:
Cedric BAIL 2011-05-02 10:11:38 +00:00
parent a356004af9
commit 8a93d10cb0
1 changed files with 4 additions and 0 deletions

View File

@ -117,6 +117,7 @@ config_exit(void *data __UNUSED__,
}
elm_font_available_hash_del(fdata.font_hash);
fdata.font_hash = NULL;
EINA_LIST_FREE(fdata.font_px_list, sd)
{
@ -131,7 +132,10 @@ config_exit(void *data __UNUSED__,
}
if (fdata.cur_font) eina_stringshare_del(fdata.cur_font);
fdata.cur_font = NULL;
if (fdata.cur_style) eina_stringshare_del(fdata.cur_style);
fdata.cur_style = NULL;
elm_config_save();
elm_exit(); /* exit the program's main loop that runs in elm_run() */