From becaca6df05e8a3caaa971e6cbe7bf41345f0b94 Mon Sep 17 00:00:00 2001 From: yangxx Date: Wed, 23 Jul 2003 14:31:01 +0000 Subject: [PATCH] git-svn-id: http://ltt.polymtl.ca/svn@129 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/parser.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ltt/branches/poly/ltt/parser.c b/ltt/branches/poly/ltt/parser.c index 8017e3f1..fa786985 100644 --- a/ltt/branches/poly/ltt/parser.c +++ b/ltt/branches/poly/ltt/parser.c @@ -497,10 +497,9 @@ type_descriptor *parseType(parse_file *in, type_descriptor *inType, free(str); str = appendString(str1,token); free(str1); - sequence_push(&(t->labels),allocAndCopy(str)); - free(str); + sequence_push(&(t->labels),str); }else - sequence_push(&(t->labels),allocAndCopy(str)); + sequence_push(&(t->labels),str); getForwardslash(in); getRAnglebracket(in); -- 2.34.1