Follow up to last commit, allocate sizeof(char_type), not 1 byte

* This week is apparently not a good week for avoiding stupid mistakes.