enleve strnew dans itoa
This commit is contained in:
BIN
srcs/bonus/.DS_Store
vendored
BIN
srcs/bonus/.DS_Store
vendored
Binary file not shown.
BIN
srcs/bonus/a.out
BIN
srcs/bonus/a.out
Binary file not shown.
@@ -115,6 +115,7 @@ t_list *ft_lstmap(t_list *lst, void *(*f)(void *), void (*del)(void *))
|
||||
lst = lst->next;
|
||||
if (!(tmp->next = (t_list*)f(lst)))
|
||||
{
|
||||
del(tmp->next->content);
|
||||
free(tmp->next);
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user