aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--func.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/func.c b/func.c
index 17bc0242..616317d6 100644
--- a/func.c
+++ b/func.c
@@ -42,6 +42,8 @@ void luaI_insertfunction (TFunc *f)
42static void freefunc (TFunc *f) 42static void freefunc (TFunc *f)
43{ 43{
44 luaI_free (f->code); 44 luaI_free (f->code);
45 if (f->locvars)
46 luaI_free (f->locvars);
45 luaI_free (f); 47 luaI_free (f);
46} 48}
47 49