From ac68a3abc483cf1b1473fd35e00cc4f887baab92 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 2 Nov 1994 17:09:23 -0200 Subject: frees filename from file stack --- table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'table.c') diff --git a/table.c b/table.c index ba3d55c4..4f05c303 100644 --- a/table.c +++ b/table.c @@ -3,7 +3,7 @@ ** Module to control static tables */ -char *rcs_table="$Id: table.c,v 2.5 1994/10/17 21:45:00 roberto Exp roberto $"; +char *rcs_table="$Id: table.c,v 2.6 1994/10/18 18:34:47 roberto Exp $"; #include #include @@ -255,7 +255,7 @@ int lua_addfile (char *fn) */ int lua_delfile (void) { - lua_nfile--; + free(lua_file[lua_nfile--]); return 1; } -- cgit v1.2.3-55-g6feb