Skip to content

Commit c6d6c79

Browse files
committed
alloc call.args
1 parent eb85f06 commit c6d6c79

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/lib/unlang/xlat_expr.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2048,6 +2048,8 @@ static fr_slen_t tokenize_unary(xlat_exp_head_t *head, xlat_exp_t **out, fr_sbuf
20482048

20492049
MEM(unary = xlat_exp_alloc(head, XLAT_FUNC, fr_tokens[func->token], strlen(fr_tokens[func->token])));
20502050
xlat_exp_set_func(unary, func, t_rules->attr.dict_def);
2051+
MEM(unary->call.args = xlat_exp_head_alloc(unary));
2052+
unary->call.args->is_argv = true;
20512053

20522054
if (tokenize_field(unary->call.args, &node, &our_in, p_rules, t_rules, bracket_rules, out_c, (c == '!')) <= 0) {
20532055
talloc_free(unary);

0 commit comments

Comments
 (0)