removed deallocation todo

This commit is contained in:
Václav Šmejkal 2023-04-18 21:07:23 +02:00
parent c85f0d9669
commit 6857f5a67a
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -27,7 +27,7 @@ void why2_list_push(why2_list_t *list, void *value, unsigned long size)
//CREATE NODE
why2_node_t *head = list -> head;
why2_node_t *new_node = malloc(sizeof(why2_node_t));
new_node -> value = malloc(size); //TODO: Deallocation
new_node -> value = malloc(size);
why2_node_t *buffer = head;
//INSERT DATA