the module "detach" routine is called. So we have to remember
it ourselves, to that we can un-register the xlat
#define inst ((rlm_mschap_t *)instance)
if (inst->xlat_name) {
xlat_unregister(inst->xlat_name, mschap_xlat);
+ free(inst->xlat_name);
}
free(instance);
return 0;
*/
inst->xlat_name = cf_section_name2(conf);
if (!inst->xlat_name) inst->xlat_name = cf_section_name1(conf);
+ inst->xlat_name = strdup(inst->xlat_name);
xlat_register(inst->xlat_name, mschap_xlat, inst);
/*