From 6857f5a67a93ff5ad953c33a66dc429b95b3aa1f Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Tue, 18 Apr 2023 21:07:23 +0200 Subject: [PATCH] removed deallocation todo --- src/core/lib/utils/llist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/lib/utils/llist.c b/src/core/lib/utils/llist.c index b316e72..5d45b53 100644 --- a/src/core/lib/utils/llist.c +++ b/src/core/lib/utils/llist.c @@ -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