From f955d4856e2e0a3f3aef7fb6f084c2d86a103eb0 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Tue, 26 Jan 2010 15:21:57 +0000 Subject: [PATCH] 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 SVN revision: 45591 --- src/modules/everything/evry_history.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/modules/everything/evry_history.c b/src/modules/everything/evry_history.c index 787572f67..8761b8190 100644 --- a/src/modules/everything/evry_history.c +++ b/src/modules/everything/evry_history.c @@ -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; }