Fixes.
h3rald h3rald@h3rald.com
Fri, 27 Dec 2024 22:19:07 +0000
2 files changed,
2 insertions(+),
4 deletions(-)
M
src/stack.c
→
src/stack.c
@@ -343,14 +343,14 @@ if (copy->token->value == NULL)
{ hex_error(ctx, "[copy item] Failed to allocate memory for token value"); hex_free_token(copy->token); - hex_free_item(copy); + hex_free_item(ctx, copy); return NULL; } break; default: hex_error(ctx, "[copy item] Failed to copy %s item", hex_type(item->type)); - hex_free_item(copy); + hex_free_item(ctx, copy); return NULL; }
M
src/symbols.c
→
src/symbols.c
@@ -2634,7 +2634,6 @@ return 1;
} } } - HEX_FREE(ctx, evalResult); } return 0; }@@ -2785,7 +2784,6 @@ {
HEX_FREE(ctx, evalResult); break; } - HEX_FREE(ctx, evalResult); for (size_t i = 0; i < action->quotation_size; i++) {