Browse Source

Init list's tail

Serj Kalichev 10 years ago
parent
commit
ee6ae2a59f
1 changed files with 1 additions and 0 deletions
  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;
 }