Motivated by the unconventional superconductivity observed in heavy-fermion metals, we investigate pairing susceptibilities near a continuous quantum phase transition of the Kondo-destruction type. We solve two-impurity Bose-Fermi Anderson models with Ising and Heisenberg forms of the interimpurity exchange interaction using continuous-time quantum Monte Carlo and numerical renormalization-group methods. Each model exhibits a Kondo-destruction quantum critical point separating Kondo-screened and local-moment phases. For antiferromagnetic interimpurity exchange interactions, singlet pairing is found to be enhanced in the vicinity of the transition. Implications of this result for heavy-fermion superconductivity are discussed.