Corroded vias could cause any manner of fault, depending on their location to in a circuit. I've never actually dealt with this though. btw, what sort of cap was leaking. Some old caps had extremely carcinogenic materials as their dielectric spacer. Take care.