summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/eval.c b/eval.c
index d0b9e6c..b78ea45 100644
--- a/eval.c
+++ b/eval.c
@@ -16,11 +16,7 @@ static void evalr_create(Evaluator *ev, Typer *tr, Allocator *allocr) {
ev->typer = tr;
ev->enabled = true;
ev->allocr = allocr;
- ffmgr_create(&ev->ffmgr);
-}
-
-static void evalr_free(Evaluator *ev) {
- ffmgr_free(&ev->ffmgr);
+ ffmgr_create(&ev->ffmgr, ev->allocr);
}
static inline void *evalr_malloc(Evaluator *ev, size_t bytes) {