[[ Bug 11878 ]] Fix memory overwriting and releasing issue in MCField::t...

...ypetext().