correction pointeur liste null dans lstadd_back

This commit is contained in:
Hugo LAMY
2019-11-20 21:03:51 +01:00
parent 3a56265dfb
commit 33b1147968
5 changed files with 100 additions and 21 deletions

View File

@@ -92,7 +92,7 @@ void ft_lstadd_back(t_list **alst, t_list *new)
tmp = tmp->next;
tmp->next = new;
}
new->content = NULL;
new->next = NULL;
}
}