From: Alan T. DeKok Date: Mon, 22 Nov 2021 20:11:07 +0000 (-0500) Subject: we don't need to store node->attr for virtual attributes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23aa52518f46076ed8348554340cdad779056e19;p=thirdparty%2Ffreeradius-server.git we don't need to store node->attr for virtual attributes the function itself defines what to do --- diff --git a/src/lib/unlang/xlat_tokenize.c b/src/lib/unlang/xlat_tokenize.c index 6cd3b7acc40..a49e96f7480 100644 --- a/src/lib/unlang/xlat_tokenize.c +++ b/src/lib/unlang/xlat_tokenize.c @@ -588,7 +588,6 @@ static int xlat_resolve_virtual_attribute(xlat_exp_t *node, tmpl_t *vpt) XLAT_DEBUG("VIRTUAL <-- %pV", fr_box_strvalue_len(vpt->name, vpt->len)); node->call.func = func; - node->attr = vpt; /* Store for context */ node->flags.needs_async = func->needs_async; return 0;