Clear the point S before freeing in ec_scalar_mul_ladder