Repaired allocation errors