diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-21 11:41:25 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-09-21 11:41:25 -0300 |
| commit | dbde9f881768666363b3a4297645f3d490e5d1b6 (patch) | |
| tree | 9d072803671731c512a70e91ac67147f63f8b394 | |
| parent | 857a1204d8df62c20adab201329445f335c4066e (diff) | |
| download | lua-dbde9f881768666363b3a4297645f3d490e5d1b6.tar.gz lua-dbde9f881768666363b3a4297645f3d490e5d1b6.tar.bz2 lua-dbde9f881768666363b3a4297645f3d490e5d1b6.zip | |
wrong assertv4.0-beta
| -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 | } |
