summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/krb5
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal/lib/krb5')
-rw-r--r--source4/heimdal/lib/krb5/init_creds_pw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/heimdal/lib/krb5/init_creds_pw.c b/source4/heimdal/lib/krb5/init_creds_pw.c
index 5363d533e7..b615f5340a 100644
--- a/source4/heimdal/lib/krb5/init_creds_pw.c
+++ b/source4/heimdal/lib/krb5/init_creds_pw.c
@@ -1463,6 +1463,7 @@ krb5_init_creds_set_keytab(krb5_context context,
/* remove old list of etype */
if (etypes)
free(etypes);
+ etypes = NULL;
netypes = 0;
kvno = entry.vno;
} else if (entry.vno != kvno)