Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_desklock.c e_prefix.c
Log Message:
fix segv on desklock unlock (valgrind caught it) :)
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_desklock.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- e_desklock.c 20 Jun 2006 11:35:14 -0000 1.16
+++ e_desklock.c 10 Jul 2006 19:33:00 -0000 1.17
@@ -585,6 +585,7 @@
E_Desklock_Auth da;
char *current_user;
+ current_user = _desklock_auth_get_current_user();
strncpy(da.user, current_user, PATH_MAX);
strncpy(da.passwd, passwd, PATH_MAX);
da.pam.handle = NULL;
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_prefix.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -3 -r1.14 -r1.15
--- e_prefix.c 10 Jul 2006 16:38:48 -0000 1.14
+++ e_prefix.c 10 Jul 2006 19:33:00 -0000 1.15
@@ -329,7 +329,9 @@
return 1;
}
/* fail. everything failed */
+#ifdef PREFIX_CACHE_FILE
free(home);
+#endif
return 0;
}
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs