bugfixing in progress
[lttv.git] / ltt / branches / poly / ltt / facility.c
index df3a498b1dbdab3ff46e6f4497cd50915a948f49..5b854131c6244652c328034dd4d1fd1a4b490d52 100644 (file)
@@ -602,6 +602,8 @@ guint8 ltt_facility_eventtype_number(LttFacility *f)
 
 LttEventType *ltt_facility_eventtype_get(LttFacility *f, guint8 i)
 {
+  if(!f->exists) return NULL;
+
   g_assert(i < f->events->len);
   return &g_array_index(f->events, LttEventType, i);
 }
This page took 0.022873 seconds and 4 git commands to generate.