diff options
| -rw-r--r-- | lstate.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.c,v 1.38 2000/09/11 19:42:57 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 1.39 2000/09/12 18:42:32 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 | */ |
| @@ -97,7 +97,6 @@ void lua_close (lua_State *L) { | |||
| 97 | luaM_free(L, L->Mbuffer); | 97 | luaM_free(L, L->Mbuffer); |
| 98 | LUA_ASSERT(L->nblocks == 0, "wrong count for nblocks"); | 98 | LUA_ASSERT(L->nblocks == 0, "wrong count for nblocks"); |
| 99 | luaM_free(L, L); | 99 | luaM_free(L, L); |
| 100 | LUA_ASSERT(L->Cbase == L->stack, "stack not empty"); | ||
| 101 | LUA_ASSERT(L != lua_state || memdebug_numblocks == 0, "memory leak!"); | 100 | LUA_ASSERT(L != lua_state || memdebug_numblocks == 0, "memory leak!"); |
| 102 | LUA_ASSERT(L != lua_state || memdebug_total == 0,"memory leak!"); | 101 | LUA_ASSERT(L != lua_state || memdebug_total == 0,"memory leak!"); |
| 103 | } | 102 | } |
