* 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:
@ -913,6 +913,7 @@ int main (int argc, char **argv)
|
||||
* anymore. */
|
||||
if (NULL != pwd) {
|
||||
pw_free (pwd);
|
||||
pwd = NULL;
|
||||
}
|
||||
if (NULL != spwd) {
|
||||
spw_free (spwd);
|
||||
|
Reference in New Issue
Block a user