Enlightenment CVS committal

Author  : lok
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_int_menus.c 


Log Message:
Fix the segv at restart.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_int_menus.c,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -3 -r1.227 -r1.228
--- e_int_menus.c       5 Aug 2007 10:15:37 -0000       1.227
+++ e_int_menus.c       7 Aug 2007 11:46:19 -0000       1.228
@@ -375,6 +375,9 @@
    maug->del.data = data_del;
 
    l = evas_hash_find(_e_int_menus_augmentation, menu);
+   if (l) 
+     _e_int_menus_augmentation = evas_hash_del(_e_int_menus_augmentation, 
menu, l);
+
    l = evas_list_append(l, maug);
    _e_int_menus_augmentation = evas_hash_add(_e_int_menus_augmentation, menu, 
l);
 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to