comments.

This commit is contained in:
Roberto Ierusalimschy
1999-12-27 15:33:22 -02:00
parent 5b08fcd5a1
commit acdb0b741e
20 changed files with 65 additions and 65 deletions

4
lmem.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: lmem.c,v 1.21 1999/11/29 16:38:48 roberto Exp roberto $
** $Id: lmem.c,v 1.22 1999/12/14 18:31:20 roberto Exp roberto $
** Interface to Memory Manager
** See Copyright Notice in lua.h
*/
@@ -49,7 +49,7 @@ void *luaM_realloc (lua_State *L, void *block, unsigned long size) {
if (s != size)
lua_error(L, "memory allocation error: block too big");
if (size == 0) {
free(block); /* block may be NULL, that is OK for free */
free(block); /* block may be NULL; that is OK for free */
return NULL;
}
block = realloc(block, s);