* src/login.c: Fix failure of non PAM enabled versions when an
empty username is entered after a first prompt.
This commit is contained in:
parent
d945d61e42
commit
9ee294ba70
@ -1,3 +1,8 @@
|
|||||||
|
2009-05-16 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* src/login.c: Fix failure of non PAM enabled versions when an
|
||||||
|
empty username is entered after a first prompt.
|
||||||
|
|
||||||
2009-05-16 Nicolas François <nicolas.francois@centraliens.net>
|
2009-05-16 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* src/passwd.c: Added missing end of line at the end of success
|
* src/passwd.c: Added missing end of line at the end of success
|
||||||
|
@ -913,6 +913,7 @@ int main (int argc, char **argv)
|
|||||||
* anymore. */
|
* anymore. */
|
||||||
if (NULL != pwd) {
|
if (NULL != pwd) {
|
||||||
pw_free (pwd);
|
pw_free (pwd);
|
||||||
|
pwd = NULL;
|
||||||
}
|
}
|
||||||
if (NULL != spwd) {
|
if (NULL != spwd) {
|
||||||
spw_free (spwd);
|
spw_free (spwd);
|
||||||
|
Loading…
Reference in New Issue
Block a user