Barcelona defender Jordi Alba will leave the Catalan club at the end of the existing season as a free agent, it was announced on Wednesday.