Fix to CreateMemAlloc().
Fix for allocating memory for mesh field arrays.