aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-10 11:08:48 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-10 11:08:48 -0800
commit08d3ca49897c85c71e7a66ce8902bbf04081c441 (patch)
tree5e3160dbae96d940eccb4a66b0219c16cb877b61 /src
parent3802eec07ec36a55815468a442add5debbbe7fb6 (diff)
fix dip
Diffstat (limited to 'src')
-rw-r--r--src/builtins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/builtins.c b/src/builtins.c
index f801028..31981c3 100644
--- a/src/builtins.c
+++ b/src/builtins.c
@@ -548,7 +548,7 @@ void dip(value_t *v) {
eval(value_copy(v2->quote->items[i]));
}
value_free(array_pop(EVAL_STACK));
- value_free(array_pop(EVAL_STACK));
+ array_pop(EVAL_STACK);
} else {
eval(v1);
}