From 72a508f8d22aa0700f4712fb1103ebde9ae73156 Mon Sep 17 00:00:00 2001 From: yangxx Date: Tue, 22 Jul 2003 19:06:27 +0000 Subject: [PATCH] git-svn-id: http://ltt.polymtl.ca/svn@127 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/facility.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ltt/branches/poly/ltt/facility.c b/ltt/branches/poly/ltt/facility.c index 7efcbce0..ea34c4a4 100644 --- a/ltt/branches/poly/ltt/facility.c +++ b/ltt/branches/poly/ltt/facility.c @@ -153,11 +153,12 @@ void generateFacility(LttFacility *f, facility *fac,LttChecksum checksum) field->parent = NULL; field->child = NULL; field->current_element = 0; - + //construct field tree and type graph constructTypeAndFields(f,((event*)(events->array[i]))->type,field); }else{ - evType->root_field = NULL; + evType->root_field = NULL; + sequence_pop(&(f->all_fields)); g_free(field); } } -- 2.34.1