aboutsummaryrefslogtreecommitdiff
path: root/func.c
diff options
context:
space:
mode:
Diffstat (limited to 'func.c')
-rw-r--r--func.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/func.c b/func.c
index 8762b1f6..58ff0fd2 100644
--- a/func.c
+++ b/func.c
@@ -43,7 +43,7 @@ void luaI_insertfunction (TFunc *f)
43/* 43/*
44** Free function 44** Free function
45*/ 45*/
46static void freefunc (TFunc *f) 46void luaI_freefunc (TFunc *f)
47{ 47{
48 luaI_free (f->code); 48 luaI_free (f->code);
49 luaI_free (f->locvars); 49 luaI_free (f->locvars);
@@ -68,7 +68,7 @@ Long luaI_funccollector (void)
68 function_root = next; 68 function_root = next;
69 else 69 else
70 prev->next = next; 70 prev->next = next;
71 freefunc (curr); 71 luaI_freefunc (curr);
72 ++counter; 72 ++counter;
73 } 73 }
74 else 74 else