hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=ec340a1760d7cd6026a3f8d108f77c22489bd39b

commit ec340a1760d7cd6026a3f8d108f77c22489bd39b
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Wed May 27 14:41:40 2015 +0900

    config_data: code refactoring.
    
    just clean up code.
---
 src/bin/config_data.c | 20 ++++----------------
 1 file changed, 4 insertions(+), 16 deletions(-)

diff --git a/src/bin/config_data.c b/src/bin/config_data.c
index a314a43..869f31c 100644
--- a/src/bin/config_data.c
+++ b/src/bin/config_data.c
@@ -279,28 +279,16 @@ config_init(const char *edc_path, Eina_List *edc_img_path,
    if (edc_path[0]) config_edc_path_set(edc_path);
 
    if (edc_img_path)
-     {
-        EINA_LIST_FREE(cd->edc_img_path_list, s) eina_stringshare_del(s);
-        g_cd->edc_img_path_list = edc_img_path;
-     }
+     g_cd->edc_img_path_list = edc_img_path;
 
    if (edc_snd_path)
-     {
-        EINA_LIST_FREE(cd->edc_snd_path_list, s) eina_stringshare_del(s);
-        g_cd->edc_snd_path_list = edc_snd_path;
-     }
+     g_cd->edc_snd_path_list = edc_snd_path;
 
    if (edc_fnt_path)
-     { 
-        EINA_LIST_FREE(cd->edc_fnt_path_list, s) eina_stringshare_del(s);
-        g_cd->edc_fnt_path_list = edc_fnt_path;
-     }
+     g_cd->edc_fnt_path_list = edc_fnt_path;
 
    if (edc_dat_path)
-     {
-        EINA_LIST_FREE(cd->edc_dat_path_list, s) eina_stringshare_del(s);
-        g_cd->edc_dat_path_list = edc_dat_path;
-     }
+     g_cd->edc_dat_path_list = edc_dat_path;
 
 }
 

-- 


Reply via email to