Enlightenment CVS committal
Author : mekius
Project : e17
Module : apps/entrance
Dir : e17/apps/entrance/src/client
Modified Files:
entrance_auth.c
Log Message:
Patch from bug #110. Fixes segfault on login.
===================================================================
RCS file: /cvs/e/e17/apps/entrance/src/client/entrance_auth.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -3 -r1.29 -r1.30
--- entrance_auth.c 18 Jun 2007 04:29:58 -0000 1.29
+++ entrance_auth.c 27 Jul 2007 15:16:05 -0000 1.30
@@ -71,8 +71,6 @@
Entrance_Auth *e;
e = (Entrance_Auth *) calloc(1, sizeof(struct _Entrance_Auth));
- e->env = (char **) malloc(sizeof(char *) * 2);
- e->env[0] = 0;
return (e);
}
@@ -124,7 +122,6 @@
memset(e->user, 0, sizeof(e->user));
memset(e->pass, 0, sizeof(e->pass));
- if (e->env) free(e->env);
e->env = NULL;
entrance_auth_session_end(e);
free(e);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs