1
0
mirror of https://github.com/lua/lua.git synced 2025-01-28 06:03:00 +08:00

small bug

This commit is contained in:
Roberto Ierusalimschy 1996-02-08 16:14:17 -02:00
parent 826d70fcba
commit 7918c6cf11

2
func.c
View File

@ -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);
}