Embed rb_args_info in rb_node_args_t

This commit is contained in:
Nobuyoshi Nakada 2023-10-30 00:19:43 +09:00
parent fbd55120f3
commit 13c9cbe09e
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465
6 changed files with 49 additions and 51 deletions

3
node.c
View file

@ -173,8 +173,7 @@ static void
free_ast_value(rb_ast_t *ast, void *ctx, NODE *node)
{
switch (nd_type(node)) {
case NODE_ARGS:
xfree(RNODE_ARGS(node)->nd_ainfo);
default:
break;
}
}