allocate marker data
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Oct 2007 22:39:00 +0000 (22:39 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 10 Oct 2007 22:39:00 +0000 (22:39 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2645 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/tracefile.c

index f6beea740828d58cb45c4982bcce0b40e81c51e3..6ef5dca88b391408b69faaf79b46428d83c23f78 100644 (file)
@@ -1230,6 +1230,10 @@ LttTrace *ltt_trace_open(const gchar *pathname)
 
   t->num_cpu = group->len;
   
+  ret = allocate_marker_data(t);
+  if (!ret)
+    g_error("Error in allocating marker data");
+
   for(i=0; i<group->len; i++) {
     tf = &g_array_index (group, LttTracefile, i);
     if(ltt_process_facility_tracefile(tf))
@@ -1240,6 +1244,7 @@ LttTrace *ltt_trace_open(const gchar *pathname)
 
   /* Error handling */
 facilities_error:
+  destroy_marker_data(t);
 find_error:
   g_datalist_clear(&t->tracefiles);
 open_error:
This page took 0.025379 seconds and 4 git commands to generate.