random memory leak fixes and memory access fixes
[model-checker.git] / threads.cc
index 39f049541d69184cc012bcd042f2400208863a3a..836bf2c72a7056923c4d3c09865076bb5fe9caef 100644 (file)
@@ -119,6 +119,7 @@ void Thread::complete()
  * @param a The parameter to pass to this function.
  */
 Thread::Thread(thrd_t *t, void (*func)(void *), void *a) :
+       creation(NULL),
        pending(NULL),
        start_routine(func),
        arg(a),