X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fparser.c;h=b6561ca57793f38c48ad6837680bd924aefa5b7e;hb=acd767ee11976fedd7455f3891d7f11d75d550df;hp=fa786985316e015a880f4ad6c0db0153c23f16eb;hpb=becaca6df05e8a3caaa971e6cbe7bf41345f0b94;p=lttv.git diff --git a/ltt/branches/poly/ltt/parser.c b/ltt/branches/poly/ltt/parser.c index fa786985..b6561ca5 100644 --- a/ltt/branches/poly/ltt/parser.c +++ b/ltt/branches/poly/ltt/parser.c @@ -578,7 +578,8 @@ type_descriptor * find_named_type(char *name, table * named_types) t->type_name = allocAndCopy(name); t->type = NONE; t->fmt = NULL; - table_insert(named_types,allocAndCopy(name),t); + table_insert(named_types,t->type_name,t); + // table_insert(named_types,allocAndCopy(name),t); } return t; }