0024489: Avoid type casts in call to Standard::Free()