aboutsummaryrefslogtreecommitdiff
path: root/lfunc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lfunc.c')
-rw-r--r--lfunc.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lfunc.c b/lfunc.c
index 7268380f..f4c35a2e 100644
--- a/lfunc.c
+++ b/lfunc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lfunc.c,v 2.12 2005/12/22 16:19:56 roberto Exp roberto $ 2** $Id: lfunc.c,v 2.13 2007/02/07 17:48:52 roberto Exp roberto $
3** Auxiliary functions to manipulate prototypes and closures 3** Auxiliary functions to manipulate prototypes and closures
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -139,12 +139,12 @@ Proto *luaF_newproto (lua_State *L) {
139 139
140 140
141void luaF_freeproto (lua_State *L, Proto *f) { 141void luaF_freeproto (lua_State *L, Proto *f) {
142 luaM_freearray(L, f->code, f->sizecode, Instruction); 142 luaM_freearray(L, f->code, f->sizecode);
143 luaM_freearray(L, f->p, f->sizep, Proto *); 143 luaM_freearray(L, f->p, f->sizep);
144 luaM_freearray(L, f->k, f->sizek, TValue); 144 luaM_freearray(L, f->k, f->sizek);
145 luaM_freearray(L, f->lineinfo, f->sizelineinfo, int); 145 luaM_freearray(L, f->lineinfo, f->sizelineinfo);
146 luaM_freearray(L, f->locvars, f->sizelocvars, struct LocVar); 146 luaM_freearray(L, f->locvars, f->sizelocvars);
147 luaM_freearray(L, f->upvalues, f->sizeupvalues, TString *); 147 luaM_freearray(L, f->upvalues, f->sizeupvalues);
148 luaM_free(L, f); 148 luaM_free(L, f);
149} 149}
150 150