aboutsummaryrefslogtreecommitdiff
path: root/table.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-11-02 17:09:23 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-11-02 17:09:23 -0200
commitac68a3abc483cf1b1473fd35e00cc4f887baab92 (patch)
treeba0f8bff717db917395b1129d9200be018893d39 /table.c
parentf53460aab94c64879624c72222e282fe492122ae (diff)
downloadlua-ac68a3abc483cf1b1473fd35e00cc4f887baab92.tar.gz
lua-ac68a3abc483cf1b1473fd35e00cc4f887baab92.tar.bz2
lua-ac68a3abc483cf1b1473fd35e00cc4f887baab92.zip
frees filename from file stack
Diffstat (limited to 'table.c')
-rw-r--r--table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/table.c b/table.c
index ba3d55c4..4f05c303 100644
--- a/table.c
+++ b/table.c
@@ -3,7 +3,7 @@
3** Module to control static tables 3** Module to control static tables
4*/ 4*/
5 5
6char *rcs_table="$Id: table.c,v 2.5 1994/10/17 21:45:00 roberto Exp roberto $"; 6char *rcs_table="$Id: table.c,v 2.6 1994/10/18 18:34:47 roberto Exp $";
7 7
8#include <stdlib.h> 8#include <stdlib.h>
9#include <string.h> 9#include <string.h>
@@ -255,7 +255,7 @@ int lua_addfile (char *fn)
255*/ 255*/
256int lua_delfile (void) 256int lua_delfile (void)
257{ 257{
258 lua_nfile--; 258 free(lua_file[lua_nfile--]);
259 return 1; 259 return 1;
260} 260}
261 261