Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_actions.c 


Log Message:


segv deleting actions. fix.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_actions.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -3 -r1.45 -r1.46
--- e_actions.c 7 Dec 2005 13:24:58 -0000       1.45
+++ e_actions.c 9 Dec 2005 07:47:03 -0000       1.46
@@ -1438,11 +1438,9 @@
 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 @@
                   void *data, void *fdata __UNUSED__)
 {
    e_object_del(E_OBJECT(data));
-   return 1;
+   return 0;
 }




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to