Fixed data leak when creating new character.