commit 7918c6cf113a2e05cd5b952588a240c268ca01a2 parent 826d70fcba11a46de74a316b76caf94eb5a5acc5 Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Thu, 8 Feb 1996 16:13:57 -0200 small bug Diffstat:
M | func.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/func.c b/func.c @@ -42,6 +42,8 @@ void luaI_insertfunction (TFunc *f) static void freefunc (TFunc *f) { luaI_free (f->code); + if (f->locvars) + luaI_free (f->locvars); luaI_free (f); }