Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore_config


Modified Files:
        ecore_config.c 


Log Message:


sebastian's fix.

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_config/ecore_config.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -3 -r1.57 -r1.58
--- ecore_config.c      15 Jan 2005 10:06:28 -0000      1.57
+++ ecore_config.c      29 Jan 2005 02:13:12 -0000      1.58
@@ -1454,8 +1454,9 @@
 int
 ecore_config_init(char *name)
 {
-   char               *path;
-   Ecore_Config_Prop  *list;
+   char                *path;
+   Ecore_Config_Prop   *list;
+   Ecore_Config_Bundle *temp;
    _ecore_config_system_init_no_load();
 
    __ecore_config_app_name = strdup(name);
@@ -1463,11 +1464,12 @@
    if (!__ecore_config_server_local)
       return ECORE_CONFIG_ERR_FAIL;
 
-  /* FIXME should free __ecore_config_bundle_local */
+   temp = __ecore_config_bundle_local;
    list = __ecore_config_bundle_local->data;
    __ecore_config_bundle_local =
       ecore_config_bundle_new(__ecore_config_server_local, "config");
    __ecore_config_bundle_local->data = list;
+   free(temp);
 
    path = ecore_config_theme_default_path_get();
         ecore_config_string_default("/e/themes/search_path", path);




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to