Correct. They both end up with the same potential energy since the gravitational potential depends only on height. But the kinetic energy of the bouncing ball will be less, since it loses a bit of energy at each bounce.