You'll get galvanic issues after a while, but it'll serve as a quick fix.
Whatever you do though, after you get it sealed up, pump it down and let it sit a while, and pump it down some more. Corrosion's from water in the system interacting with the working fluid, which is also why you may consider changing the drier out too.