aboutsummaryrefslogtreecommitdiff
path: root/lib/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/list.c')
-rw-r--r--lib/list.c3
1 files changed, 0 insertions, 3 deletions
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);
}