better names for `luaM_free...' macros
This commit is contained in:
4
lstate.c
4
lstate.c
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lstate.c,v 2.15 2004/10/06 18:34:16 roberto Exp roberto $
|
||||
** $Id: lstate.c,v 2.16 2004/11/19 15:52:40 roberto Exp roberto $
|
||||
** Global State
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -155,7 +155,7 @@ void luaE_freethread (lua_State *L, lua_State *L1) {
|
||||
luaF_close(L1, L1->stack); /* close all upvalues for this thread */
|
||||
lua_assert(L1->openupval == NULL);
|
||||
freestack(L, L1);
|
||||
luaM_free(L, fromstate(L1), state_size(lua_State));
|
||||
luaM_freemem(L, fromstate(L1), state_size(lua_State));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user