X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Ftracefile.c;h=6ef5dca88b391408b69faaf79b46428d83c23f78;hb=d79909d1d188c52b42984fded1ccc5263525a1c3;hp=f6beea740828d58cb45c4982bcce0b40e81c51e3;hpb=6a77ed1b72a491b84416b328a277bc35f76bcffe;p=lttv.git diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index f6beea74..6ef5dca8 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -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; ilen; 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: