refacto: string: malloc(length + sizeof(""))
to malloc(length + sizeof(<type>))
#50
Labels
invalid
This doesn't seem right
Currently, "" is always used to get the size of the final \0, but it may be wrong if we malloc for
t_chat
andsizeof(t_char) != sizeof(char)
The text was updated successfully, but these errors were encountered: