krb5: Init mutex of anon MEMORY ccaches
This commit is contained in:
@@ -101,6 +101,7 @@ again:
|
|||||||
return krb5_enomem(context);
|
return krb5_enomem(context);
|
||||||
}
|
}
|
||||||
if (strcmp(m->name, "anonymous") == 0) {
|
if (strcmp(m->name, "anonymous") == 0) {
|
||||||
|
HEIMDAL_MUTEX_init(&(m->mutex));
|
||||||
m->anonymous = 1;
|
m->anonymous = 1;
|
||||||
m->dead = 0;
|
m->dead = 0;
|
||||||
m->refcnt = 1;
|
m->refcnt = 1;
|
||||||
|
Reference in New Issue
Block a user