Assuming you are talking about PVC drain pipe, this is a very easy material to work with. I would not do a patch-up repair, especially behind a wall. The leaky fitting can usually be cut out with a sawzall and replaced with flexible rubber connectors (Fernco Couplings).