remove a bunch of lines

This commit is contained in:
Khaïs COLIN 2024-11-01 12:38:40 +01:00
parent 8f37c424ad
commit 330db7596a
2 changed files with 1 additions and 9 deletions

View file

@ -94,6 +94,7 @@ char *ft_strjoin_free_s1(char const *s1, char const *s2)
if (out == NULL)
{
free((void *)s1);
free((void *)s2);
return (NULL);
}
ft_strlcpy(out, s1, len);