krb5: Fix warnings
This commit is contained in:
@@ -120,10 +120,10 @@ again:
|
||||
if (strcmp(m->name, m_c->name) == 0)
|
||||
break;
|
||||
if (m_c) {
|
||||
free(m->name);
|
||||
free(m);
|
||||
if (name) {
|
||||
/* We raced with another thread to create this cache */
|
||||
free(m->name);
|
||||
free(m);
|
||||
m = m_c;
|
||||
HEIMDAL_MUTEX_lock(&(m->mutex));
|
||||
m->refcnt++;
|
||||
|
Reference in New Issue
Block a user