diff options
author | Preston Pan <preston@nullring.xyz> | 2024-01-10 11:08:48 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2024-01-10 11:08:48 -0800 |
commit | 08d3ca49897c85c71e7a66ce8902bbf04081c441 (patch) | |
tree | 5e3160dbae96d940eccb4a66b0219c16cb877b61 /src/builtins.c | |
parent | 3802eec07ec36a55815468a442add5debbbe7fb6 (diff) |
fix dip
Diffstat (limited to 'src/builtins.c')
-rw-r--r-- | src/builtins.c | 2 |
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); } |