Skip to content

Commit

Permalink
[ruby/prism] Style and allocation functions
Browse files Browse the repository at this point in the history
  • Loading branch information
kddnewton committed Mar 7, 2024
1 parent 81f02eb commit c146225
Show file tree
Hide file tree
Showing 3 changed files with 353 additions and 190 deletions.
2 changes: 1 addition & 1 deletion prism/prism.c
Expand Up @@ -16648,7 +16648,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
pm_interpolated_symbol_node_append(interpolated, first_string);
pm_interpolated_symbol_node_append(interpolated, second_string);

free(current);
xfree(current);
current = (pm_node_t *) interpolated;
} else {
assert(false && "unreachable");
Expand Down

0 comments on commit c146225

Please sign in to comment.