Fixes.
h3rald h3rald@h3rald.com
Mon, 25 Nov 2024 15:27:24 +0000
1 files changed,
15 insertions(+),
8 deletions(-)
jump to
M
hex.c
→
hex.c
@@ -3509,12 +3509,19 @@ FREE(b);
FREE(a); return 1; } - int result = PUSH(a); - if (result == 0) + if (PUSH(a) != 0) { - result = PUSH(b); + FREE(a); + FREE(b); + return 1; + } + if (PUSH(b) != 0) + { + FREE(a); + FREE(b); + return 1; } - return result; + return 0; } int hex_symbol_dup()@@ -3525,12 +3532,12 @@ {
FREE(element); return 1; } - int result = PUSH(element); - if (result == 0) + if (PUSH(element) == 0 && PUSH(element) == 0) { - result = PUSH(element); + return 0; } - return result; + FREE(element); + return 1; } int hex_symbol_stack()