Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/entrance
Dir : e17/apps/entrance/src/client Modified Files: entrance_auth.c Log Message: Use free after malloc =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_auth.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- entrance_auth.c 28 May 2005 09:31:14 -0000 1.24 +++ entrance_auth.c 9 Aug 2005 08:09:01 -0000 1.25 @@ -410,6 +410,7 @@ mail = (char *) malloc(sizeof(char) * size); snprintf(mail, size, "%s/%s", _PATH_MAILDIR, e->pw->pw_name); setenv("MAIL", mail, 1); + free(mail); chdir(e->pw->pw_dir); } ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs