aboutsummaryrefslogtreecommitdiff
path: root/src/math/equation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/equation.c')
-rw-r--r--src/math/equation.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/math/equation.c b/src/math/equation.c
index 023b823..2f57d03 100644
--- a/src/math/equation.c
+++ b/src/math/equation.c
@@ -102,3 +102,12 @@ int b_seed(curve_t *curve, config_t *config, arg_t *args) {
// TODO implement
return INT_MIN;
}
+
+void equation_quit(void) {
+ if (a && isclone(a)) {
+ gunclone(a);
+ }
+ if (b && isclone(b)) {
+ gunclone(b);
+ }
+}