=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/login/login.c,v retrieving revision 1.65 retrieving revision 1.66 diff -c -r1.65 -r1.66 *** src/usr.bin/login/login.c 2015/10/26 15:29:17 1.65 --- src/usr.bin/login/login.c 2015/12/09 19:26:26 1.66 *************** *** 1,4 **** ! /* $OpenBSD: login.c,v 1.65 2015/10/26 15:29:17 zhuk Exp $ */ /* $NetBSD: login.c,v 1.13 1996/05/15 23:50:16 jtc Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: login.c,v 1.66 2015/12/09 19:26:26 mmcc Exp $ */ /* $NetBSD: login.c,v 1.13 1996/05/15 23:50:16 jtc Exp $ */ /*- *************** *** 394,401 **** } if ((style = strchr(username, ':')) != NULL) *style++ = '\0'; ! if (fullname) ! free(fullname); if (auth_setitem(as, AUTHV_NAME, username) < 0 || (fullname = strdup(username)) == NULL) { syslog(LOG_ERR, "%m"); --- 394,400 ---- } if ((style = strchr(username, ':')) != NULL) *style++ = '\0'; ! free(fullname); if (auth_setitem(as, AUTHV_NAME, username) < 0 || (fullname = strdup(username)) == NULL) { syslog(LOG_ERR, "%m");