You are responsible for the player's salary for the remainder of the contract unless someone else picks him up. If claimed off waivers, the new team is responsible for the rest of the contract. If signed after clearing waivers, the new team will only pay the prorated of the league minimum salary for the remainder of the season and the league minimum for ensuing seasons on the contract.