Roberto Ierusalimschy hace 30 años
padre
commit
7918c6cf11
Se han modificado 1 ficheros con 2 adiciones y 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);
 }