Fix new[] delete mismatch.