Merge branch 'hashtable' of github.com:h3rald/hex into hashtable
h3rald h3rald@h3rald.com
Tue, 31 Dec 2024 20:59:04 +0000
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/stack.c
→
src/stack.c
@@ -9,7 +9,7 @@
// Free a token void hex_free_token(hex_token_t *token) { - if (token == NULL) + if (token == NULL || token->value == NULL) return; free(token->value); token->value = NULL;@@ -243,7 +243,7 @@ {
if (item == NULL) return; - hex_debug_item(ctx, "FREE", item); + hex_debug(ctx, "FREE: %s", hex_type(item->type)); switch (item->type) {