@ -35,11 +35,13 @@ t_dlist *get_first(void)
void clean_list(void)
{
t_dlist *tmp = list;
while (list)
tmp = list->previous;
free(list->content);
free(list);
list = list->previous;
list = tmp;
}
list = NULL;