A Tunisian jailed for posting caricatures of the Muslim Prophet Mohammed online was freed Tuesday, his lawyer said, two weeks after securing a presidential pardon.