From 9da87f5674808c70ec5b5810f75b0ba0e9a4239f Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Tue, 3 Nov 2020 15:20:00 -0500 Subject: [PATCH] Clean up after adding `codes[]` --- src/env.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/env.c b/src/env.c index 38e8602..2f9e5cb 100644 --- a/src/env.c +++ b/src/env.c @@ -242,7 +242,8 @@ struct Environment defaultEnv() } for(unsigned i = 0; i < sizeof(codes)/sizeof(codes[0]); i++) { - parseEval(codes[i], &e); + Object toClean = parseEval(codes[i], &e); + cleanObject(&toClean); } return e;