Fixed invalid reallocations.
Typo fix