Serj Kalichev преди 10 години
родител
ревизия
9332700cf1
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      lub/list/list.c

+ 1 - 0
lub/list/list.c

@@ -9,6 +9,7 @@ static inline void lub_list_init(lub_list_t * this,
 	lub_list_compare_fn compareFn)
 {
 	this->head = NULL;
+	this->tail = NULL;
 	this->compareFn = compareFn;
 }