libmatheval.git -

summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--lib/matheval.c 4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/matheval.c b/lib/matheval.c
index 12a5ffe..0d52192 100644
--- a/lib/matheval.c
+++ b/lib/matheval.c
@@ -85,8 +85,10 @@ evaluator_create(char *string)
/* Return null pointer as error indicator if parsing error
* occured. */
- if (!ok)
+ if (!ok) {
+ symbol_table_destroy(symbol_table);
return NULL;
+ }
/* Simplify tree represention of function. */
root = node_simplify(root);
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月07日 23:09:01 +0000

AltStyle によって変換されたページ (->オリジナル) /