From: yangxx Date: Wed, 23 Jul 2003 14:02:17 +0000 (+0000) Subject: git-svn-id: http://ltt.polymtl.ca/svn@128 04897980-b3bd-0310-b5e0-8ef037075253 X-Git-Tag: v0.12.20~3361 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=ed9d56bd8f6906fadfb7b29eec15af18ab0a7aac;p=lttv.git git-svn-id: ltt.polymtl.ca/svn@128 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/parser.c b/ltt/branches/poly/ltt/parser.c index 6b0fbd62..8017e3f1 100644 --- a/ltt/branches/poly/ltt/parser.c +++ b/ltt/branches/poly/ltt/parser.c @@ -263,7 +263,7 @@ void parseFacility(parse_file *in, facility * fac) fac->name = allocAndCopy(getNameAttribute(in)); getRAnglebracket(in); - fac->description = allocAndCopy(getDescription(in)); + fac->description = getDescription(in); while(1){ getLAnglebracket(in); @@ -311,7 +311,7 @@ void parseEvent(parse_file *in, event * ev, sequence * unnamed_types, getRAnglebracket(in); //... - ev->description = allocAndCopy(getDescription(in)); + ev->description = getDescription(in); //event can have STRUCT, TYPEREF or NOTHING getLAnglebracket(in); @@ -359,7 +359,7 @@ void parseFields(parse_file *in, type_descriptor *t, sequence * unnamed_types, f->name = allocAndCopy(getNameAttribute(in)); getRAnglebracket(in); - f->description = allocAndCopy(getDescription(in)); + f->description = getDescription(in); // getLAnglebracket(in);