Enlightenment CVS committal
Author : sebastid
Project : e_modules
Module : mbar
Dir : e_modules/mbar
Modified Files:
e_mod_main.c
Log Message:
Don't free homedir.
===================================================================
RCS file: /cvs/e/e_modules/mbar/e_mod_main.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_mod_main.c 17 Jul 2006 23:56:32 -0000 1.26
+++ e_mod_main.c 22 Sep 2006 19:59:45 -0000 1.27
@@ -290,12 +290,8 @@
char *homedir;
homedir = e_user_homedir_get ();
- if (homedir)
- {
- snprintf (buf, sizeof (buf), "%s/.e/e/applications/%s", homedir,
- mb->conf->appdir);
- free (homedir);
- }
+ snprintf (buf, sizeof (buf), "%s/.e/e/applications/%s", homedir,
+ mb->conf->appdir);
}
else
strcpy (buf, mb->conf->appdir);
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs