linking new head in why2_list_remove
This commit is contained in:
parent
b19a9deee7
commit
abb1805338
@ -79,6 +79,8 @@ void why2_list_remove(why2_list_t *list, why2_node_t *node)
|
|||||||
buffer_2 -> next = buffer_1 -> next;
|
buffer_2 -> next = buffer_1 -> next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
list -> head = head;
|
||||||
|
|
||||||
//DEALLOCATION
|
//DEALLOCATION
|
||||||
free(node -> value);
|
free(node -> value);
|
||||||
free(node);
|
free(node);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user