Barcelona goalkeeper Jose Manuel Pinto has agreed a contract extension with the Primera Division leaders.