krb5: Init mutex of anon MEMORY ccaches

This commit is contained in:
Nicolas Williams
2020-03-04 14:11:42 -06:00
parent 7bf4d76e75
commit c6b891556e

View File

@@ -101,6 +101,7 @@ again:
return krb5_enomem(context);
}
if (strcmp(m->name, "anonymous") == 0) {
HEIMDAL_MUTEX_init(&(m->mutex));
m->anonymous = 1;
m->dead = 0;
m->refcnt = 1;