Always use sizeof(char) for malloc of strings.