This commit is contained in:
LinlyBoi
2023-08-21 11:39:20 +03:00
parent 5df61fff5b
commit 6c756ea867
5 changed files with 19 additions and 8 deletions

View File

@@ -23,6 +23,8 @@ char *_strcpy(char *dest, char *src)
*(new_me + s_idx++) = *(src + i);
*(new_me + _strlen(new_me)) = '\0';
free(dest);
return (new_me);
}