From 3e9daa741623aaa8a191aa98cd43e462b8bf2d33 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 14 Mar 1996 12:56:26 -0300 Subject: [PATCH] creation of strings must call garbage collector. --- tree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tree.c b/tree.c index fa708c9d..5ebdf84b 100644 --- a/tree.c +++ b/tree.c @@ -3,7 +3,7 @@ ** TecCGraf - PUC-Rio */ -char *rcs_tree="$Id: tree.c,v 1.18 1996/02/14 19:11:09 roberto Exp roberto $"; +char *rcs_tree="$Id: tree.c,v 1.19 1996/02/22 20:34:33 roberto Exp $"; #include @@ -93,6 +93,7 @@ static TaggedString *insert (char *str, stringtable *tb) i = (i+1)%tb->size; } /* not found */ + lua_pack(); if (j != -1) /* is there an EMPTY space? */ i = j; else