summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sss_client/pam_sss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c
index d2758004..d11fc0af 100644
--- a/src/sss_client/pam_sss.c
+++ b/src/sss_client/pam_sss.c
@@ -212,6 +212,7 @@ static void overwrite_and_free_pam_items(struct pam_items *pi)
pi->pamstack_oldauthtok = NULL;
free(pi->domain_name);
+ pi->domain_name = NULL;
}
static int pack_message_v3(struct pam_items *pi, size_t *size,