aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/pam_issue/pam_issue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam_issue/pam_issue.c b/modules/pam_issue/pam_issue.c
index 52b11058..f0a97fca 100644
--- a/modules/pam_issue/pam_issue.c
+++ b/modules/pam_issue/pam_issue.c
@@ -314,6 +314,7 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags UNUSED,
retval = PAM_BUF_ERR;
goto out;
}
+ free(issue_prompt);
issue_prompt = new_prompt;
}