From f9d4787425277bf9da911e69678bc15408db74a6 Mon Sep 17 00:00:00 2001 From: nishi Date: Sat, 27 Apr 2024 02:14:47 +0000 Subject: [PATCH] scope works git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@68 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- Serenade/run.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Serenade/run.c b/Serenade/run.c index 859bd35..d7037e4 100644 --- a/Serenade/run.c +++ b/Serenade/run.c @@ -52,6 +52,7 @@ struct sn_generic* run_code(struct sn_interpreter* sn, int argc, struct sn_gener for(i = 0; gens[i] != NULL; i++) { _sn_run(sn, gens[i]); } + free(sn->local_variables); sn->local_variables = old_kv; return r; } -- 2.43.0