From 0e002005b1bf17e962d4640ef7b9fae900514f1a Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 24 Nov 2004 17:20:21 -0200 Subject: better names for `luaM_free...' macros --- lstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.c') diff --git a/lstate.c b/lstate.c index 2f5031d5..ff5d0376 100644 --- a/lstate.c +++ b/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)); } -- cgit v1.2.3-55-g6feb