From: Alan T. DeKok Date: Thu, 19 May 2022 23:06:41 +0000 (-0400) Subject: heads start out as pure X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31eb66c63f764b70c323976920900a3dcc7b7a23;p=thirdparty%2Ffreeradius-server.git heads start out as pure --- diff --git a/src/lib/unlang/xlat_priv.h b/src/lib/unlang/xlat_priv.h index 9c70701e447..3b612f5718a 100644 --- a/src/lib/unlang/xlat_priv.h +++ b/src/lib/unlang/xlat_priv.h @@ -376,6 +376,8 @@ static inline xlat_exp_head_t *xlat_exp_head_alloc(TALLOC_CTX *ctx) if (!head) return NULL; fr_dlist_init(&head->dlist, xlat_exp_t, entry); + head->flags.pure = true; + return head; }