From 024092d9d7477aca5e8ec2627b2784c88f9b17bb Mon Sep 17 00:00:00 2001 From: depetrol Date: Fri, 18 Oct 2024 10:59:02 -0700 Subject: [PATCH] fix ArrayFree.lf --- include/api/reaction_macros.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/api/reaction_macros.h b/include/api/reaction_macros.h index 61b2cb0ce..52c39e125 100644 --- a/include/api/reaction_macros.h +++ b/include/api/reaction_macros.h @@ -98,6 +98,7 @@ do { \ lf_set_present(out); \ lf_token_t* token = _lf_initialize_token_with_value((token_template_t*)out, val, len); \ + out->token = token; \ out->value = token->value; \ out->length = len; \ } while (0) @@ -106,6 +107,7 @@ do { \ lf_set_present(out); \ lf_token_t* token = _lf_initialize_token_with_value((token_template_t*)out, val, len); \ + out->token = token; \ out->value = static_castvalue)>(token->value); \ out->length = len; \ } while (0)