check for hash table before freeing it which cause eina to get angry on e restart...
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 30 Apr 2010 19:13:30 +0000 (19:13 +0000)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 30 Apr 2010 19:13:30 +0000 (19:13 +0000)
SVN revision: 48487

src/bin/e_menu.c

index 5ca5eb8..a27737c 100644 (file)
@@ -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;
 }