summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/sshlogin.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/sshlogin.c')
-rw-r--r--crypto/openssh/sshlogin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssh/sshlogin.c b/crypto/openssh/sshlogin.c
index 54629f7..2688d8d 100644
--- a/crypto/openssh/sshlogin.c
+++ b/crypto/openssh/sshlogin.c
@@ -97,7 +97,7 @@ store_lastlog_message(const char *user, uid_t uid)
time_string = sys_auth_get_lastlogin_msg(user, uid);
if (time_string != NULL) {
buffer_append(&loginmsg, time_string, strlen(time_string));
- xfree(time_string);
+ free(time_string);
}
# else
last_login_time = get_last_login_time(uid, user, hostname,
OpenPOWER on IntegriCloud