diff options
Diffstat (limited to 'modules/pam_motd/pam_motd.c')
-rw-r--r-- | modules/pam_motd/pam_motd.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/pam_motd/pam_motd.c b/modules/pam_motd/pam_motd.c index 88a334d8..552c4fc0 100644 --- a/modules/pam_motd/pam_motd.c +++ b/modules/pam_motd/pam_motd.c @@ -93,14 +93,11 @@ int pam_sm_open_session(pam_handle_t *pamh, int flags, else mtmp[st.st_size] = '\0'; - pam_info (pamh, "%s", mtmp); - _pam_drop (mtmp); - break; } - free(mtmp); + _pam_drop (mtmp); if (fd >= 0) close(fd); |