mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
small bug
This commit is contained in:
parent
826d70fcba
commit
7918c6cf11
1 changed files with 2 additions and 0 deletions
2
func.c
2
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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue