new[] free mismatching after PR #5326.

new[] free mismatching after PR #5326