Detail: bad assertion in 'luaM_free_'
diff --git a/lmem.c b/lmem.c
index 7751870..53f8dcb 100644
--- a/lmem.c
+++ b/lmem.c
@@ -108,7 +108,7 @@
 */
 void luaM_free_ (lua_State *L, void *block, size_t osize) {
   global_State *g = G(L);
-  lua_assert((block == 0) == (block == NULL));
+  lua_assert((osize == 0) == (block == NULL));
   (*g->frealloc)(g->ud, block, osize, 0);
   g->GCdebt -= osize;
 }