linking new head in why2_list_remove

This commit is contained in:
Václav Šmejkal 2023-04-19 10:49:00 +02:00
parent b19a9deee7
commit abb1805338
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59

View File

@ -79,6 +79,8 @@ void why2_list_remove(why2_list_t *list, why2_node_t *node)
buffer_2 -> next = buffer_1 -> next;
}
list -> head = head;
//DEALLOCATION
free(node -> value);
free(node);