Calculate synchronization accuracy within the chull module
[lttv.git] / lttv / lttv / sync / data_structures.c
index 79b8963d61427d83b48a2feebb2051c471a2322b..acac9d72aaaaf9a15e68ad17e2a206f89d24f695 100644 (file)
@@ -46,7 +46,7 @@ const char* const approxNames[]= {
        [APPROXIMATE]= "Approximate",
        [INCOMPLETE]= "Incomplete",
        [ABSENT]= "Absent",
-       [SCREWED]= "Screwed",
+       [FAIL]= "Fail",
 };
 
 
@@ -737,6 +737,11 @@ void freeAllFactors(AllFactors* const allFactors, const unsigned int traceNb)
 {
        unsigned int i, j;
 
+       if (allFactors == NULL)
+       {
+               return;
+       }
+
        allFactors->refCount--;
 
        if (allFactors->refCount == 0)
This page took 0.025983 seconds and 4 git commands to generate.