aboutsummaryrefslogtreecommitdiff
path: root/lfunc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lfunc.c')
-rw-r--r--lfunc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lfunc.c b/lfunc.c
index d20424b5..433075e6 100644
--- a/lfunc.c
+++ b/lfunc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lfunc.c,v 1.59 2002/08/30 19:09:21 roberto Exp roberto $ 2** $Id: lfunc.c,v 1.60 2002/10/16 20:40:58 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*/
@@ -96,10 +96,10 @@ Proto *luaF_newproto (lua_State *L) {
96 96
97void luaF_freeproto (lua_State *L, Proto *f) { 97void luaF_freeproto (lua_State *L, Proto *f) {
98 luaM_freearray(L, f->code, f->sizecode, Instruction); 98 luaM_freearray(L, f->code, f->sizecode, Instruction);
99 luaM_freearray(L, f->p, f->sizep, Proto *);
100 luaM_freearray(L, f->k, f->sizek, TObject);
99 luaM_freearray(L, f->lineinfo, f->sizelineinfo, int); 101 luaM_freearray(L, f->lineinfo, f->sizelineinfo, int);
100 luaM_freearray(L, f->locvars, f->sizelocvars, struct LocVar); 102 luaM_freearray(L, f->locvars, f->sizelocvars, struct LocVar);
101 luaM_freearray(L, f->k, f->sizek, TObject);
102 luaM_freearray(L, f->p, f->sizep, Proto *);
103 luaM_freelem(L, f); 103 luaM_freelem(L, f);
104} 104}
105 105