From 05a11288df8319761fc71008ba84206434793921 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Fri, 9 Dec 2005 07:47:03 +0000 Subject: [PATCH] segv deleting actions. fix. SVN revision: 18917 --- src/bin/e_actions.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bin/e_actions.c b/src/bin/e_actions.c index b72ebd84b..c41301110 100644 --- a/src/bin/e_actions.c +++ b/src/bin/e_actions.c @@ -1438,11 +1438,9 @@ int e_actions_shutdown(void) { action_names = evas_list_free(action_names); - if (actions) + while (actions) { evas_hash_foreach(actions, _e_actions_cb_free, NULL); - evas_hash_free(actions); - actions = NULL; } return 1; } @@ -1494,5 +1492,5 @@ _e_actions_cb_free(Evas_Hash *hash __UNUSED__, const char *key __UNUSED__, void *data, void *fdata __UNUSED__) { e_object_del(E_OBJECT(data)); - return 1; + return 0; }