Commit 00049d68 00049d688b8af8d69cac8c1f996ad317954aeaff by Alain Magloire

Simple fix, I mixed up the list next pointer.

1 parent a40eb4ad
...@@ -129,6 +129,7 @@ list_remove (list_t list, void *item) ...@@ -129,6 +129,7 @@ list_remove (list_t list, void *item)
129 if ((int)current->item == (int)item) 129 if ((int)current->item == (int)item)
130 { 130 {
131 previous->next = current->next; 131 previous->next = current->next;
132 current->next->prev = previous;
132 free (current); 133 free (current);
133 list->count--; 134 list->count--;
134 RWLOCK_UNLOCK (&(list->rwlock)); 135 RWLOCK_UNLOCK (&(list->rwlock));
......