Enlightenment CVS committal

Author  : sebastid
Project : e_modules
Module  : photo

Dir     : e_modules/photo/src/module


Modified Files:
        photo_picture.c 


Log Message:
Don't free homedir.

===================================================================
RCS file: /cvs/e/e_modules/photo/src/module/photo_picture.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- photo_picture.c     22 Jul 2006 22:30:52 -0000      1.6
+++ photo_picture.c     22 Sep 2006 19:59:45 -0000      1.7
@@ -226,11 +226,10 @@
 void photo_picture_setbg_add(const char *name)
 {
    char buf[4096];
-   char *home;
+   const char *home;
 
    home = e_user_homedir_get();
    snprintf(buf, sizeof(buf), "%s/.e/e/backgrounds/%s.edj", home, name);
-   free(home);
 
    photo->setbg_topurge = evas_list_append(photo->setbg_topurge, strdup(buf));
 }



-------------------------------------------------------------------------
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