We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#include "libft.h" char *ft_strjoin(char const *s1, char const *s2) { char *res; if (s1 == NULL || s2 == NULL) return (NULL); if (!(res = ft_strnew(ft_strlen((char *)s1 + ft_strlen((char *)s2 + 1))))) // +1 is very bad but 42fc don' t check it! return (NULL); res = ft_strcpy(res, s1); res = ft_strcat(res, s2); return (res); }
Thx
The text was updated successfully, but these errors were encountered:
Hello @EPgg92 The idea to check for leaks on "libft" project is nice. Are you interested in developing this test?
Sorry, something went wrong.
jgigault
No branches or pull requests
Thx
The text was updated successfully, but these errors were encountered: