From: yangxx Date: Wed, 23 Jul 2003 18:24:09 +0000 (+0000) Subject: git-svn-id: http://ltt.polymtl.ca/svn@131 04897980-b3bd-0310-b5e0-8ef037075253 X-Git-Tag: v0.12.20~3358 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=4a6c8e36527c06c846bcd076c90b5935cf370477;p=lttv.git git-svn-id: ltt.polymtl.ca/svn@131 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index 80864917..f3ee2e20 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -130,6 +130,7 @@ void ltt_tracefile_open_cpu(LttTrace *t, char * tracefile_name) { LttTracefile * tf; tf = ltt_tracefile_open(t,tracefile_name); + if(!tf) return; t->per_cpu_tracefile_number++; g_ptr_array_add(t->per_cpu_tracefiles, tf); }