Fixed delete after new[] (induced by last commit)