correction pointeur liste null dans lstadd_back
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user