As above, that's what I had to do with a Pentax where the battery had leaked, I managed to repair the damage luckily.

Ian