From de43538b1224e45762fc02c76c39c86f44cc2c9c Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 30 Apr 2010 19:13:30 +0000 Subject: [PATCH] check for hash table before freeing it which cause eina to get angry on e restart. don't make eina angry. you wouldn't like eina when it's angry. SVN revision: 48487 --- src/bin/e_menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_menu.c b/src/bin/e_menu.c index 5ca5eb8..a27737c 100644 --- a/src/bin/e_menu.c +++ b/src/bin/e_menu.c @@ -1763,7 +1763,8 @@ _e_menu_unrealize(E_Menu *m) ecore_evas_free(m->ecore_evas); m->ecore_evas = NULL; m->evas = NULL; - eina_hash_del(_e_menu_hash, e_util_winid_str_get(m->evas_win), m); + if (_e_menu_hash) + eina_hash_del(_e_menu_hash, e_util_winid_str_get(m->evas_win), m); m->evas_win = 0; } -- 2.7.4