evry_hist->subjects and evry_hist->actions has already been freed

by evry_history_free(). Do not call eina_hash_foreach() again on
evry_history_unload since this will give an eina_magic_fail()
beacause they are already NULL.

By: Lucas De Marchi <lucas.demarchi@profusion.mobi>



SVN revision: 45591
This commit is contained in:
Gustavo Sverzut Barbieri 2010-01-26 15:21:57 +00:00
parent 036f564d05
commit f955d4856e
1 changed files with 0 additions and 3 deletions

View File

@ -195,9 +195,6 @@ evry_history_unload(void)
e_config_domain_save("module.everything.history", hist_edd, evry_hist);
eina_hash_foreach(evry_hist->subjects, _hist_free_cb, NULL);
eina_hash_foreach(evry_hist->actions, _hist_free_cb, NULL);
E_FREE(evry_hist);
evry_hist = NULL;
}