From: yangxx Date: Wed, 23 Jul 2003 14:31:01 +0000 (+0000) Subject: git-svn-id: http://ltt.polymtl.ca/svn@129 04897980-b3bd-0310-b5e0-8ef037075253 X-Git-Tag: v0.12.20~3360 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=becaca6df05e8a3caaa971e6cbe7bf41345f0b94;p=lttv.git git-svn-id: ltt.polymtl.ca/svn@129 04897980-b3bd-0310-b5e0-8ef037075253 --- 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);