commit dbde9f881768666363b3a4297645f3d490e5d1b6
parent 857a1204d8df62c20adab201329445f335c4066e
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Thu, 21 Sep 2000 11:41:03 -0300
wrong assert
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lstate.c b/lstate.c
@@ -1,5 +1,5 @@
/*
-** $Id: lstate.c,v 1.38 2000/09/11 19:42:57 roberto Exp roberto $
+** $Id: lstate.c,v 1.39 2000/09/12 18:42:32 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -97,7 +97,6 @@ void lua_close (lua_State *L) {
luaM_free(L, L->Mbuffer);
LUA_ASSERT(L->nblocks == 0, "wrong count for nblocks");
luaM_free(L, L);
- LUA_ASSERT(L->Cbase == L->stack, "stack not empty");
LUA_ASSERT(L != lua_state || memdebug_numblocks == 0, "memory leak!");
LUA_ASSERT(L != lua_state || memdebug_total == 0,"memory leak!");
}