Roberto Ierusalimschy %!s(int64=30) %!d(string=hai) anos
pai
achega
7918c6cf11
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      func.c

+ 2 - 0
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);
 }