Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/conf


Modified Files:
        e_conf.c 


Log Message:
Cleanup module_update handler a little better.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/conf/e_conf.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_conf.c    4 Dec 2007 10:22:18 -0000       1.8
+++ e_conf.c    5 Dec 2007 02:37:36 -0000       1.9
@@ -193,6 +193,7 @@
      {
        if (_e_configure->mod_hdl) 
          ecore_event_handler_del(_e_configure->mod_hdl);
+       _e_configure->mod_hdl = NULL;
        e_object_del(E_OBJECT(_e_configure));
        _e_configure = NULL;
      }
@@ -201,6 +202,9 @@
 static void 
 _e_configure_free(E_Configure *eco) 
 {
+   if (_e_configure->mod_hdl)
+     ecore_event_handler_del(_e_configure->mod_hdl);
+   eco->mod_hdl = NULL;
    _e_configure = NULL;
    while (eco->cats) 
      {
@@ -239,7 +243,7 @@
    evas_object_del(eco->o_list);
    evas_object_del(eco->edje);
    e_object_del(E_OBJECT(eco->win));
-   free(eco);
+   E_FREE(eco);
 }
 
 static void 



-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to