summaryrefslogtreecommitdiff
path: root/plugin/auth_pam/testing/pam_mariadb_mtr.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/auth_pam/testing/pam_mariadb_mtr.c')
-rw-r--r--plugin/auth_pam/testing/pam_mariadb_mtr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/auth_pam/testing/pam_mariadb_mtr.c b/plugin/auth_pam/testing/pam_mariadb_mtr.c
index f61a8da7682..108aeb941ac 100644
--- a/plugin/auth_pam/testing/pam_mariadb_mtr.c
+++ b/plugin/auth_pam/testing/pam_mariadb_mtr.c
@@ -45,6 +45,7 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags __attribute__((unused)),
else
{
free(resp);
+ resp= NULL;
msg[0].msg_style = PAM_PROMPT_ECHO_ON;
msg[0].msg = (char*)"PIN:";
pam_err = (*conv->conv)(1, msgp, &resp, conv->appdata_ptr);