From eab57ed6fddcc70891f017d7a1c4a51b3d3c2018 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 13 Jan 2000 14:30:47 -0200 Subject: details --- lstate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lstate.c') diff --git a/lstate.c b/lstate.c index e82ca950..563ec35e 100644 --- a/lstate.c +++ b/lstate.c @@ -1,5 +1,5 @@ /* -** $Id: lstate.c,v 1.22 1999/12/07 11:42:54 roberto Exp roberto $ +** $Id: lstate.c,v 1.23 1999/12/21 18:04:41 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -105,8 +105,8 @@ void lua_close (lua_State *L) { LUA_ASSERT(L, L->Cstack.base == L->top, "C2Lua not empty"); luaM_free(L, L); if (L == lua_state) { - LUA_ASSERT(L, numblocks == 0, "memory leak!"); - LUA_ASSERT(L, totalmem == 0,"memory leak!"); + LUA_ASSERT(L, memdebug_numblocks == 0, "memory leak!"); + LUA_ASSERT(L, memdebug_total == 0,"memory leak!"); lua_state = NULL; } } -- cgit v1.2.3-55-g6feb