new[] free mismatching after PR #5326.