From 6ed576974dec969ad2745a451a6f680a3cdbcfc4 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Thu, 22 Feb 2024 18:53:21 +0100 Subject: feat: Sync --- lib/list.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/list.c') diff --git a/lib/list.c b/lib/list.c index 52feb76..be1ac61 100644 --- a/lib/list.c +++ b/lib/list.c @@ -36,9 +36,6 @@ LIST* list_remove(LIST* list, unsigned int pos) void list_free(LIST* list) { - for (unsigned int x = 0; x < list->size; x++) - free(list->list[x]); - free(list->list); free(list); } -- cgit v1.2.3