Fixed malloc delete unmach bug.