diff options
Diffstat (limited to 'func.c')
| -rw-r--r-- | func.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -43,7 +43,7 @@ void luaI_insertfunction (TFunc *f) | |||
| 43 | /* | 43 | /* |
| 44 | ** Free function | 44 | ** Free function |
| 45 | */ | 45 | */ |
| 46 | static void freefunc (TFunc *f) | 46 | void 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 |
