From 9a9fe42deb626b36477f35f179fb2d908e0afb4f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 30 Apr 2010 15:17:24 -0300 Subject: [PATCH] wrong comment --- lmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lmem.c b/lmem.c index 05b4a873..0dc4d10d 100644 --- a/lmem.c +++ b/lmem.c @@ -1,5 +1,5 @@ /* -** $Id: lmem.c,v 1.75 2010/04/02 14:37:41 roberto Exp roberto $ +** $Id: lmem.c,v 1.76 2010/04/29 17:33:17 roberto Exp roberto $ ** Interface to Memory Manager ** See Copyright Notice in lua.h */ @@ -95,7 +95,7 @@ void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) { } lua_assert((nsize == 0) == (newblock == NULL)); g->totalbytes = (g->totalbytes - realosize) + nsize; - if (!gcstopped(g)) /* new object? */ + if (!gcstopped(g)) g->GCdebt += nsize; /* give some credit to garbage collector */ #if defined(TRACEMEM) { /* auxiliar patch to monitor garbage collection.