Enlightenment CVS committal

Author  : devilhorns
Project : e17
Module  : apps/e

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


Modified Files:
        e_conf.c 


Log Message:
No need to assign an eco here. Add safety to be sure _e_configure is NULL.
Thanks englebass.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/conf/e_conf.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_conf.c    18 Aug 2007 10:45:38 -0000      1.2
+++ e_conf.c    18 Aug 2007 11:48:10 -0000      1.3
@@ -182,12 +182,10 @@
 EAPI void 
 e_configure_del(void) 
 {
-   E_Configure *eco;
-
    if (_e_configure) 
      {
-       eco = _e_configure;
-       e_object_del(E_OBJECT(eco));
+       e_object_del(E_OBJECT(_e_configure));
+       _e_configure = NULL;
      }
 }
 



-------------------------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to