If it is on the drain side then
maybe what you suggested would work. If it is is on the pressure side, cut it out and replace the section/fittings. I have never had any luck fixing a leak with more glue or silicon on the pressure side. I admit, I have tried before...