finally fix stupid xkb layout saving bug

ticket #1656


SVN revision: 78709
This commit is contained in:
Mike Blumenkrantz 2012-10-31 15:04:51 +00:00
parent 1f0b81276c
commit f29de38e57
1 changed files with 3 additions and 4 deletions

View File

@ -2006,10 +2006,9 @@ _e_config_free(E_Config *ecf)
if (!ecf) return;
if (e_config->xkb.default_model)
eina_stringshare_del(e_config->xkb.default_model);
eina_stringshare_del(ecf->xkb.default_model);
EINA_LIST_FREE(e_config->xkb.used_layouts, cl)
EINA_LIST_FREE(ecf->xkb.used_layouts, cl)
{
eina_stringshare_del(cl->name);
eina_stringshare_del(cl->model);
@ -2017,7 +2016,7 @@ _e_config_free(E_Config *ecf)
E_FREE(cl);
}
EINA_LIST_FREE(e_config->xkb.used_options, op)
EINA_LIST_FREE(ecf->xkb.used_options, op)
{
eina_stringshare_del(op->name);
E_FREE(op);