segfault if there was a problem building the cache
{
radlog(L_ERR, "HASH: unable to create user "
"hash table. disable caching and run debugs");
{
radlog(L_ERR, "HASH: unable to create user "
"hash table. disable caching and run debugs");
+ free((char *) inst->passwd_file);
+ free((char *) inst->shadow_file);
+ free((char *) inst->group_file);
+ free((char *) inst->radwtmp);
+ free(inst);
+ return -1;
}
} else {
inst->cache = NULL;
}
} else {
inst->cache = NULL;