diff options
-rw-r--r-- | func.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -42,6 +42,8 @@ void luaI_insertfunction (TFunc *f) | |||
42 | static void freefunc (TFunc *f) | 42 | static 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 | ||