RPEDEBUG("Failed calculating result, returning NULL");
goto done;
}
-
+
/*
* Over-write, but only if it's present. Otherwise leave
* any existing enum alone.
(void) fr_dlist_remove(&xctx->ex->call.args->dlist, rhs);
+ fr_assert(rhs);
fr_assert(rhs->type == XLAT_GROUP);
regex = xlat_exp_head(rhs->group);
fr_assert(tmpl_contains_regex(regex->vpt));
talloc_free(vb);
}
-done:
+done:
talloc_free(regmatch); /* free if not consumed */
MEM(dst = fr_value_box_alloc(ctx, FR_TYPE_BOOL, attr_expr_bool_enum, false));