Enlightenment CVS committal

Author  : sebastid
Project : e_modules
Module  : devian

Dir     : e_modules/devian/src/module


Modified Files:
        e_mod_source_picture.c 


Log Message:
Don't free homedir.

===================================================================
RCS file: /cvs/e/e_modules/devian/src/module/e_mod_source_picture.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_mod_source_picture.c      2 Jul 2006 21:25:14 -0000       1.9
+++ e_mod_source_picture.c      22 Sep 2006 19:59:45 -0000      1.10
@@ -542,14 +542,13 @@
 static void
 _was_set_bg_add(Source_Picture *source, char *name)
 {
-   char *home;
+   const char *home;
    char *file_edj;
 
    file_edj = E_NEW(char, DEVIAN_MAX_PATH);
 
    home = e_user_homedir_get();
    snprintf(file_edj, DEVIAN_MAX_PATH, "%s/.e/e/backgrounds/%s.edj", home, 
name);
-   free(home);
 
    source->was_set_bg = evas_list_append(source->was_set_bg, file_edj);
 }



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to