In case the slave is owned by two persons, and one of them emancipates him, he will guarantee (his full freedom).

Sahih Muslim Book 27, Hadith 78