diff options
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 2.15 2004/10/06 18:34:16 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.16 2004/11/19 15:52:40 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -155,7 +155,7 @@ void luaE_freethread (lua_State *L, lua_State *L1) { | |||
155 | luaF_close(L1, L1->stack); /* close all upvalues for this thread */ | 155 | luaF_close(L1, L1->stack); /* close all upvalues for this thread */ |
156 | lua_assert(L1->openupval == NULL); | 156 | lua_assert(L1->openupval == NULL); |
157 | freestack(L, L1); | 157 | freestack(L, L1); |
158 | luaM_free(L, fromstate(L1), state_size(lua_State)); | 158 | luaM_freemem(L, fromstate(L1), state_size(lua_State)); |
159 | } | 159 | } |
160 | 160 | ||
161 | 161 | ||